aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Add ActiveSupport::FileUpdateChecker.José Valim2010-06-201-1/+3
|
* Add ActiveSupport::DescendantsTracker.José Valim2010-06-191-0/+1
|
* Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-071-0/+3
| | | | | | | | | | | | 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
* For performance reasons, you can no longer call html_safe! on Strings. ↵Yehuda Katz2010-01-311-0/+1
| | | | | | | | | | | | Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe.
* Unvendor'd MemCache-Client. Now requires the MemCache Client gem as a ↵Mikel Lindsaar2010-01-281-2/+0
| | | | dependency - Don't forget to gem bundle buys and girls
* Autoload AS test caseJoshua Peek2010-01-041-0/+2
|
* Get rid of DeprecatedCallbacks in ActiveRecord::Associations and finally ↵José Valim2009-12-301-1/+0
| | | | remove it.
* Fix the i18n dependency problemDavid Heinemeier Hansson2009-12-271-3/+0
|
* Flip deferrable autoload conventionJoshua Peek2009-12-221-25/+28
|
* Should fix a few Sam Ruby fails.Yehuda Katz2009-12-031-1/+32
|
* Restore split between require-time and runtime load path mungery. Simplifies ↵Jeremy Kemper2009-09-241-1/+2
| | | | vendor requires.
* Convert the other vendored libs to avoid pulling in old gems. Works even if ↵Jeremy Kemper2009-09-241-1/+0
| | | | rubygems isn't loaded.
* Rollback AS bundler work and improve activation of vendored dependenciesJoshua Peek2009-09-131-7/+1
|
* Restore AS vendor file until we get things sorted out in railtiesJoshua Peek2009-09-131-0/+1
|
* Load vendored i18n if its not found since its a real requirementJoshua Peek2009-09-131-1/+7
|
* Move AS vendor support into bundler.Joshua Peek2009-09-131-1/+1
| | | Run `rake bundle` before running tests.
* Extract autoloadsJeremy Kemper2009-05-201-24/+1
|
* Remove 'core' fluff. Hookable ActiveSupport.load_all!Jeremy Kemper2009-05-201-2/+9
|
* Make module dependency DSL opt inJoshua Peek2009-05-071-0/+1
|
* Merge branch 'master' into cherryJeremy Kemper2009-04-221-1/+0
|\ | | | | | | | | Conflicts: activesupport/lib/active_support.rb
| * Opt in to JSONJeremy Kemper2009-04-221-1/+0
| |
* | Opt in to DependenciesJeremy Kemper2009-04-221-1/+0
|/
* No more free lunchJeremy Kemper2009-04-221-3/+0
|
* Merge branch 'master' into cherryJeremy Kemper2009-04-201-0/+2
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: activesupport/CHANGELOG activesupport/lib/active_support/core_ext/class/delegating_attributes.rb activesupport/lib/active_support/core_ext/hash/conversions.rb activesupport/lib/active_support/core_ext/module/attribute_accessors.rb activesupport/lib/active_support/core_ext/string/multibyte.rb activesupport/lib/active_support/core_ext/time/calculations.rb activesupport/lib/active_support/deprecation.rb
| * Add support for callbacksYehuda Katz2009-02-271-0/+1
| |
| * Begin unifying the interface between ActionController and ActionViewYehuda Katz2009-01-221-0/+1
| |
* | Move AS::Duration autoload to core/time/autoloadJeremy Kemper2009-04-201-1/+0
| |
* | Encapsulate date/time core extensions and constant autoloads in ↵Jeremy Kemper2009-03-311-3/+3
|/ | | | active_support/core/time
* Autoload ActiveSupport::XmlMiniJeremy Kemper2008-11-261-0/+1
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-11-251-0/+1
|\
| * Add a MessageEncryptor, just like MessageVerifier but using symmetric key ↵Michael Koziarski2008-11-251-0/+1
| | | | | | | | | | | | | | | | encryption. The use of encryption prevents people from seeing any potentially secret values you've used. It also supports and encrypt_and_sign model to prevent people from tampering with the bits and creating random junk that gets fed to A motivated coder could use this to add an :encrypt=>true option to the cookie store.
* | AS::Dependencies also has core extensions; don't autoload it.Jeremy Kemper2008-11-241-1/+1
|/
* Add config.preload_frameworks to load all frameworks at startup. Default to ↵Jeremy Kemper2008-11-241-2/+0
| | | | false so Rails autoloads itself as it's used.
* JSON can't be autoloaded since it includes core extensionsJeremy Kemper2008-11-241-1/+1
|
* require json lib when serialization is loadedJoshua Peek2008-11-241-1/+1
|
* Add LAZY env flag for testing autoload/lazy load featureJoshua Peek2008-11-241-1/+1
|
* Autoload more ActiveSupport libsJoshua Peek2008-11-241-22/+19
|
* Autoload ActiveSupport::Duration, Gzip, OptionMerger, OrderedHash, ↵Jeremy Kemper2008-11-231-17/+14
| | | | OrderedOptions, StringInquirer, TimeWithZone, and TimeZone also
* Autoload ActiveSupport::SecureRandom and ::MessageVerifierJeremy Kemper2008-11-231-3/+5
|
* Add ActiveSupport::MessageVerifier to aid users who need to store ↵Michael Koziarski2008-11-231-0/+1
| | | | | | tamper-proof messages in cookies etc. This is particularly useful for things like remember-me tokens in web applications and auto-unsubscribe links in emails.
* Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵David Heinemeier Hansson2008-11-221-0/+1
| | | | cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH]
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-181-1/+1
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Remove stuff that was deprecated in 2-1-stablePratik Naik2008-10-211-4/+0
|
* Add tests for ActiveSupport::Rescuable. Use ActiveSupport::Rescuable in ↵Pratik Naik2008-10-041-0/+2
| | | | ActionController::Base.
* I18n: Introduce I18n.load_path in favor of I18n.load_translations and change ↵Sven Fuchs2008-09-201-1/+1
| | | | | | Simple backend to load translations lazily. [#1048 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge commit 'sven/i18n'Jeremy Kemper2008-08-271-3/+1
|\ | | | | | | | | Conflicts: activesupport/lib/active_support.rb
| * I18n: removed call to #populate from main library filesMarko Seppae2008-08-271-3/+1
| |
* | Moved Logger extensions into core_extJoshua Peek2008-08-271-1/+0
| |
* | Deprecate Rails::SecretKeyGenerator in favor of ActiveSupport::SecureRandom.Hongli Lai (Phusion2008-08-271-0/+2
|/ | | | | | | SecureRandom has a few minor security enhancements and can be used as a drop-in replacement Signed-off-by: Michael Koziarski <michael@koziarski.com> [#913 state:committed]
* Harmonize framework require strategy. Don't add self to load path since ↵Jeremy Kemper2008-08-251-2/+0
| | | | Rails initializer and RubyGems handle it.