aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/rails.rb
Commit message (Collapse)AuthorAgeFilesLines
* removes usage of Object#in? from the code base (the method remains defined ↵Xavier Noria2012-08-061-3/+0
| | | | | | | | | | | | | | | | | | | by Active Support) Selecting which key extensions to include in active_support/rails made apparent the systematic usage of Object#in? in the code base. After some discussion in https://github.com/rails/rails/commit/5ea6b0df9a36d033f21b52049426257a4637028d we decided to remove it and use plain Ruby, which seems enough for this particular idiom. In this commit the refactor has been made case by case. Sometimes include? is the natural alternative, others a simple || is the way you actually spell the condition in your head, others a case statement seems more appropriate. I have chosen the one I liked the most in each case.
* load active_support/deprecation in active_support/railsXavier Noria2012-08-021-0/+3
|
* load active_support/core_ext/module/delegation in active_support/railsXavier Noria2012-08-021-0/+3
|
* load active_support/core_ext/class/attribute in active_support/railsXavier Noria2012-08-021-3/+6
|
* load active_support/concern in active_support/railsXavier Noria2012-08-021-0/+3
|
* load active_support/dependencies/autoload in active_support/railsXavier Noria2012-08-021-0/+3
|
* load active_support/core_ext/object/inclusion in active_support/railsXavier Noria2012-08-021-0/+4
|
* load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-021-0/+2
|
* defines a private require-hub active_support/railsXavier Noria2012-08-021-0/+9
This is a private place to put those AS features that are used by every component. Nowadays we cherry-pick individual files wherever they are used, but that it is not worth the effort for stuff that is going to be loaded for sure sooner or later, like blank?, autoload, concern, etc.