aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/rails.rb
Commit message (Collapse)AuthorAgeFilesLines
* active_support/dependencies/autoload is already required via active_support.rbAkira Matsuda2019-07-121-3/+0
|
* Rails 6 requires Ruby 2.4.1+Jeremy Daer2018-02-171-6/+0
| | | | | | Skipping over 2.4.0 to sidestep the `"symbol_from_string".to_sym.dup` bug. References #32028
* [Active Support] require_relative => requireAkira Matsuda2017-10-211-7/+7
| | | | This basically reverts 8da30ad6be34339124ba4cb4e36aea260dda12bc
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
|
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
|
* [Active Support] require => require_relativeAkira Matsuda2017-07-011-7/+7
|
* let Regexp#match? be globally availableXavier Noria2016-10-271-0/+6
| | | | | | Regexp#match? should be considered to be part of the Ruby core library. We are emulating it for < 2.4, but not having to require the extension is part of the illusion of the emulation.
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-6/+6
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* [ci skip] Update ActiveSupport::Rails and ActiveSupport::Rescuable docsDAVID MOORE2015-04-261-2/+2
| | | | [Dave Moore]
* 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.