This project is archived and is in readonly mode.
ActiveSupport 3 doesn't autoload core extensions
-
Marc Love
- Tag changed from activesupport, cattr_accessor to active_support core_ext, activesupport, core_ext
- Title changed from require "active_support" doesn't provide cattr_accessor method to ActiveSupport 3 doesn't autoload core extensions
-
Jacques Crocker
Pretty sure this is intentional. If you want everything in active_support you need to use
require 'active_support/all'That's generally a terrible idea though. The best approach for ActiveSupport 3.0 is to pick out the exact require that you need for the feature you are using. That way you avoid the overhead of loading the entire library.
-
Marc Love
Good to know Jacques. Thanks for the info.
It would be nice if the core team would mention this on the Rails blog. I'm sure there's going to be plenty of gem/plugin repositories out there that are going to need updating.
-
José Valim
- State changed from new to invalid
Yup, this is intentional as discussed in the mailing list.