mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
39d6f9e112
add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook |
||
---|---|---|
.. | ||
bin | ||
lib | ||
test | ||
activesupport.gemspec | ||
CHANGELOG | ||
install.rb | ||
MIT-LICENSE | ||
Rakefile | ||
README |
= Active Support -- Utility classes and standard library extensions from Rails Active Support is a collection of various utility classes and standard library extensions that were found useful for Rails. All these additions have hence been collected in this bundle as way to gather all that sugar that makes Ruby sweeter. == Download The latest version of Active Support can be found at * http://rubyforge.org/project/showfiles.php?group_id=182 Documentation can be found at * http://as.rubyonrails.com == Installation The preferred method of installing Active Support is through its GEM file. You'll need to have RubyGems[http://rubygems.rubyforge.org/wiki/wiki.pl] installed for that, though. If you have it, then use: % [sudo] gem install activesupport-1.0.0.gem == License Active Support is released under the MIT license. == Support The Active Support homepage is http://www.rubyonrails.com. You can find the Active Support RubyForge page at http://rubyforge.org/projects/activesupport. And as Jim from Rake says: Feel free to submit commits or feature requests. If you send a patch, remember to update the corresponding unit tests. If fact, I prefer new feature to be submitted in the form of new unit tests. For other information, feel free to ask on the ruby-talk mailing list (which is mirrored to comp.lang.ruby) or contact mailto:david@loudthinking.com.