aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
Commit message (Collapse)AuthorAgeFilesLines
* Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-078-101/+41
| | | | | | | | | | | | 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
* Removed the + sign as an accepted character from the parameterize method, as ↵Stijn Mathysen2010-03-051-1/+1
| | | | | | | | a + sign is interpreted by the browser as a space, possibly resulting in a "ArgumentError: illegal character in key" [#4080 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Allow deprecation messages with or without a final period.Jeremy Kemper2010-03-051-1/+2
|
* Move InheritableOptions into ActiveSupportCarlhuda2010-03-031-0/+6
|
* Inflection dependency, [#4067 status:resolved]Jason King2010-03-031-1/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* whiny nil shouldn't depend on Active Record [#4092 status:resolved]windock2010-03-031-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Update versions of all components to normalize them to new formatBryan Helmkamp2010-03-021-2/+3
|
* Optimize AS::Notifications to remember which subscribers don't match and not ↵Carlhuda2010-03-012-4/+13
| | | | run them. This will allow notifications that are only useful in dev or testing to run efficiently in production.
* You can unsubscribe a subscriberCarlhuda2010-03-012-3/+12
|
* AS::Subscriber is not a LogSubscriberCarlhuda2010-03-011-2/+2
|
* Hash#symbolize_keys(!) optimizationsLourens Naudé2010-03-011-1/+1
| | | | | | [#3891 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Escape the file name (who knows when a "(" might appear in a filename!)Yehuda Katz2010-02-271-1/+1
|
* Remove the noisy lines involving AS::Dependencies from the NameError stack ↵Yehuda Katz2010-02-271-0/+3
| | | | trace if a constant cannot be found.
* metaclass deprecated in 2.3.6Jeremy Kemper2010-02-252-15/+0
|
* Missed singleton_classJeremy Kemper2010-02-251-0/+13
|
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-256-19/+22
|
* Commented metaprogramming turned out to be noisier not clearerJeremy Kemper2010-02-252-12/+12
|
* Woops, forgot to actually add active_support/core_ext/file/path.rbCarlhuda2010-02-231-0/+5
|
* Fix streaming by having it create a File object, which can be handled by ↵Carlhuda2010-02-231-0/+1
| | | | Rack servers as appropriate
* Rename engines_load_path to railties_load_path.José Valim2010-02-201-2/+2
|
* require publicize_conversion_method to ensure to_date and to_datetime became ↵Santiago Pastorino2010-02-191-0/+1
| | | | public before redefining them (avoid warnings)
* warning: instance variable @_const_missing not initialized fixedSantiago Pastorino2010-02-191-1/+1
|
* Fix a problem where nil was appearing in the listYehuda Katz2010-02-191-4/+6
|
* Git failYehuda Katz2010-02-181-1/+0
|
* Avoid calling triggering const_missing if const_missing is private when ↵Carl Lerche2010-02-181-1/+1
| | | | doing constantize
* Don't constantize possible module names when looking for new constants ↵Yehuda Katz2010-02-181-0/+1
| | | | unless they exist
* Use FileUtils.mv instead of rename to copy in case of cross-device linksJeremy Kemper2010-02-181-1/+2
|
* Rename Rails::Subscriber to Rails::LogSubscriberPrem Sichanugrist2010-02-162-7/+7
|
* Right.Yehuda Katz2010-02-141-1/+4
|
* require Strings, not SymbolsYehuda Katz2010-02-141-0/+1
|
* Save off Module's const_missing, not Class'Yehuda Katz2010-02-141-1/+1
|
* Missing requireYehuda Katz2010-02-141-0/+1
|
* name.blank? -> anonymous? in a few placesXavier Noria2010-02-141-1/+1
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* adds a few missing requires in AS object.rb and module.rbXavier Noria2010-02-142-0/+6
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* Simplify dependencies.rb some. Remove alias of Kernel::Foo to Object::Foo as ↵Yehuda Katz2010-02-141-190/+135
| | | | it was not used and breaks Ruby semantics.
* fixes Module#anonymous? for 1.9Xavier Noria2010-02-111-2/+6
|
* moves Class#reachable? to Module#reachable?, bases implementation on ↵Xavier Noria2010-02-113-6/+14
| | | | anonymous? and constantize, and adds test coverage
* defines Module#anonymous?Xavier Noria2010-02-112-1/+21
|
* Reinstate object/extending require too for Object.subclasses_ofJeremy Kemper2010-02-091-0/+1
|
* Reinstate Object.subclasses_of and Class#descendents for plugin compat.Jeremy Kemper2010-02-093-0/+70
| | | | This reverts commits 7d312e54bad9c39634c137caec07dfc8df471650, 5f981ff0294ba45aa44ad15aa063970b29aeec44, f85f5dfc8ffefff174b695c6363211d342f77a57, 245bfafe335ff883f7a096eab95ac22fe2848679, and ec7c642f5fe60afc857aa64f1a9b4c2be56f9d70
* removes Module#as_load_path, which is no longer usedXavier Noria2010-02-072-26/+0
|
* removes Module#included_in_classes, which is no longer usedXavier Noria2010-02-072-31/+0
|
* Fix doc typo and update fast_xs URL. Thanks to Dmitrii Golub.Jeremy Kemper2010-02-072-2/+2
|
* Add backtrace cleaner on test unit railtie.José Valim2010-02-071-6/+0
|
* Merge remote branch 'fxn/master'Jeremy Kemper2010-02-062-8/+0
|\
| * removes Kernel#daemonize, which is no longer usedXavier Noria2010-02-062-8/+0
| |
* | remove trailing whitespaceRomD2010-02-061-1/+1
| | | | | | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* | fix usage examples and more to use new invocationsRomD2010-02-062-2/+2
|/ | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
* Fix tiny version number from '3.0.0beta' to '3.0.0.beta1', so 'rake install' ↵Prem Sichanugrist2010-02-061-1/+1
| | | | | | will be run correctly [#3879 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Making SafeBuffer << an alias for concat methodSantiago Pastorino2010-02-051-5/+2
| | | | | | [#3848 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>