Use Rails 3's ActiveSupport core extensions outside rails
Posted
by changelog
on Stack Overflow
See other posts from Stack Overflow
or by changelog
Published on 2010-06-16T12:17:17Z
Indexed on
2010/06/16
12:32 UTC
Read the original article
Hit count: 309
Hi guys. I'm having a problem using ActiveSupport's core extensions on a gem I am developing.
I had it working with AS 2.3.8, but as soon as I wanted to port it to 3b4, the extensions stopped working and my test results are filled with lines such as:
undefined method `blank?' for "something":String
I've included it via gem "activesupport"
followed by require "active_support"
Is there anything else I need to call to include those extensions?
Thanks
© Stack Overflow or respective owner