This project is archived and is in readonly mode.
ActiveSupport 3.0 is broken outside of Rails
-
Neeraj Singh
- State changed from new to invalid
- Importance changed from to Low
In rails3 AS does not load all the modules. It allows you to pick the modules you want. For example it eager autoload JSON module. So you can try
$> echo "require 'active_support';''.to_json" | ruby -r rubygemsIn order to load all modules require all.rb
$> echo "require 'active_support/all';''.blank?" | ruby -r rubygems -
Marjan Krekoten'
Well, after making it more modular in Rails 3, you should use
require 'active_support/all'or only needed for you modules.
-
Marjan Krekoten'
Oops, somehow I didn't see previous comment.