aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add autoload hook for AbstractController::ActionNotFoundRafael Mendonça França2018-11-281-0/+1
| | | | | | | | | The error can be reproduced with require "bundler/setup" require "action_controller" AbstractController::ActionNotFound
* Use frozen string literal in actionpack/Kir Shatrov2017-07-291-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* applies new string literal convention in actionpack/libXavier Noria2016-08-061-3/+3
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Move Caching module to Abstract ControllerRafael Mendonça França2016-02-231-0/+6
| | | | | | Abstract Controller is the common component between Action Mailer and Action Controller so if we need to share the caching component it need to be there.
* Remove not used requiresMarcin Olichwirowicz2015-09-011-2/+0
|
* No need for .rb extensionŁukasz Strzałkowski2013-08-251-1/+1
|
* Create AbstractController::Rendering interfaceŁukasz Strzałkowski2013-08-251-0/+1
| | | | This interface should be use when implementing renderers.
* Revert "Rename abstract_controller/rendering. to errors.rb"Łukasz Strzałkowski2013-08-251-1/+1
| | | | This reverts commit 6fe91ec5008838338e54ab8570f7c95ee0cdd8e8.
* Rename abstract_controller/rendering. to errors.rbŁukasz Strzałkowski2013-08-251-1/+1
| | | | Since all rendering stuff was extracted to AV, the only thing that left was single class with error so file name wasn't relevant anymore
* Fix AP test suite after moving stuff to AVŁukasz Strzałkowski2013-08-251-0/+1
|
* Move layouts to AVŁukasz Strzałkowski2013-08-251-1/+0
|
* Move rendering from AP to AVŁukasz Strzałkowski2013-08-251-1/+0
|
* Move view_paths from AP to AVŁukasz Strzałkowski2013-08-251-1/+0
|
* load active_support/core_ext/module/delegation in active_support/railsXavier Noria2012-08-021-1/+0
|
* load active_support/core_ext/class/attribute in active_support/railsXavier Noria2012-08-021-1/+0
|
* load active_support/concern in active_support/railsXavier Noria2012-08-021-1/+0
|
* load active_support/dependencies/autoload in active_support/railsXavier Noria2012-08-021-1/+0
|
* defines a private require-hub active_support/railsXavier Noria2012-08-021-0/+1
| | | | | | | | 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.
* Remove useless load path modificationsSantiago Pastorino2012-05-111-3/+0
|
* Remove ruby/shimSantiago Pastorino2012-05-111-1/+0
| | | | require 'action_view' is now much faster
* Refactor ActionMailer to not use hide_actionsPiotr Sarnacki2010-09-031-0/+1
|
* Be sure to call helper :all just on direct children. (Tests by Jesse Storimer)José Valim2010-08-261-0/+1
|
* No need to delegate. Simply include the whole RecordIdentifier module.José Valim2010-07-211-0/+1
|
* Extract assets paths and make them available to Action Mailer as wellDavid Heinemeier Hansson2010-06-021-0/+1
|
* Clean up the config object in ActionPack. Create config_accessor which just ↵José Valim2010-04-221-1/+0
| | | | delegates to the config object, reducing the number of deprecations and add specific tests.
* Finish cleaning up rendering stack from views and move assigns evaluation to ↵José Valim2010-03-121-0/+1
| | | | controller (so plugins and/or controllers can overwrite just one method).
* Optimize and clean up how details key get expired.José Valim2010-03-101-0/+1
|
* Move ViewPaths module to its own file.José Valim2010-03-081-0/+1
|
* More cleanup on the layouts side.José Valim2010-03-081-2/+0
|
* Fix controller_path returnsing an empty string in Ruby 1.8.7 [#4036 ↵José Valim2010-02-261-0/+2
| | | | status:resolved]
* Renamed LocalizedCache to DetailsCache.José Valim2010-02-241-1/+1
|
* Fix some backward incompatible behavior on AM.José Valim2010-01-301-0/+1
|
* ActionMailer should depend just on AbstractController.José Valim2010-01-291-1/+1
|
* Added AbstractController::Collector.José Valim and Mikel Lindsaar2010-01-231-0/+1
|
* Move ActionController::Translation to AbstractController::Translation.José Valim2010-01-201-0/+1
|
* Remove duplicated url_for code and move methods shared between ActionMailer ↵José Valim2010-01-071-0/+1
| | | | and ActionController up to AbstractController.
* Flip deferrable autoload conventionJoshua Peek2009-12-221-9/+7
|
* Rename the RenderingController module to just plain RenderingDavid Heinemeier Hansson2009-12-201-1/+1
|
* Add active_support/ruby/shim to the default requirements for AP componentsYehuda Katz2009-12-201-1/+1
|
* Fully expand relative rails framework paths and make sure we aren'tJoshua Peek2009-12-161-2/+6
| | | | adding any to the load path more than once.
* All AbstractController modules are deferrableJoshua Peek2009-12-121-7/+9
|
* Relocate AbstractController exceptions into their proper parent modulesJoshua Peek2009-12-121-7/+0
|
* Reorganize autoloads:Carlhuda2009-12-021-10/+15
| | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications.
* Extracted localized_cache.rb from ActionController, added it to ↵José Valim2009-11-011-0/+1
| | | | AbstractController and made ActionMailer use it.
* Add Orchestra instrumentation to fragment and page caching.José Valim2009-09-201-1/+0
|
* Renamed presenter to renderer, added some documentation and defined its API.José Valim2009-08-071-10/+10
|
* Move AbstractController to a top-level componentYehuda Katz2009-08-061-0/+16