aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* eagerly allocate the renderer objectAaron Patterson2015-09-141-0/+1
| | | | | this means the reader doesn't need to lock, but does have the added cost of a new object created for every controller
* Merge pull request #21298 from rodzyn/remove_dead_codeRafael Mendonça França2015-09-011-4/+0
|\ | | | | Remove dead code
| * Remove dead codeMarcin Olichwirowicz2015-08-191-4/+0
| |
* | remove RackDelegation moduleAaron Patterson2015-08-261-1/+0
| | | | | | | | | | | | Since all controller instances are required to have a request and response object, RackDelegation is no longer needed (we always have to delegate to the response)
* | remove ivars from the "protected" listAaron Patterson2015-08-261-1/+1
|/ | | | these ivars don't exist anymore, so we can remove them from the list
* stop using @_env in the controller instanceAaron Patterson2015-08-071-1/+1
| | | | | | | Actions are processed through `dispatch`, so they should have the request set on them before any user land code can be executed. Lets stop setting _env on the controller, and give access to it through the `env` method.
* Merge pull request #21008 from svenwin/patch-1Yves Senn2015-08-011-1/+1
|\ | | | | | | Add documentation to get a running custom base controller [ci skip]
| * Add documentation to get a running custom base controller [ci skip]Sven Winkler2015-07-231-1/+1
|/
* fixed sring to be string in ActiveRecord::Base params documentationColby Swandale2015-06-121-1/+1
|
* better clarity of params source in ActionController::Base documentation [ci ↵Colby Swandale2015-06-111-3/+3
| | | | skip]
* Override default form builder for a controllerKevin McPhillips2015-04-131-0/+1
|
* Remove ActionController::HideActions (closes #18336)brainopia2015-01-061-1/+0
|
* :scissors:Rafael Mendonça França2014-11-261-1/+1
|
* getting the location of the serverdilpreet922014-11-261-2/+2
|
* When your templates change, browser caches bust automatically.Jeremy Kemper2014-08-171-0/+1
| | | | | | | | | | | | | | | | New default: the template digest is automatically included in your ETags. When you call `fresh_when @post`, the digest for `posts/show.html.erb` is mixed in so future changes to the HTML will blow HTTP caches for you. This makes it easy to HTTP-cache many more of your actions. If you render a different template, you can now pass the `:template` option to include its digest instead: fresh_when @post, template: 'widgets/show' Pass `template: false` to skip the lookup. To turn this off entirely, set: config.action_controller.etag_with_template_digest = false
* Update Docs in favor to use render plain instead of text optionrobertomiranda2014-02-181-1/+1
| | | | ref #14062
* Require action_view explicitly in AC::BaseŁukasz Strzałkowski2013-12-081-0/+1
|
* Retain ActionPack dependency on ActionViewŁukasz Strzałkowski2013-12-051-15/+3
|
* Use genderless pronouns in API docsGuillermo Iguaran2013-12-011-1/+1
|
* calculate the ivars to remove in advance as a set and cache them in aAaron Patterson2013-11-061-3/+10
| | | | | | | constant. `view_assigns` can use the precalculated sets and remove instance variables without allocating any extra arrays
* Typo fix [ci skip]Arun Agrawal2013-10-091-1/+1
| | | | | | | | | Fixing the typo which is formed a not required link. Check here http://api.rubyonrails.org/classes/ActionController/Base.html under paramters section keeping it under tt tag gets reverted here ec8ef1e1055c4e1598da13f49d30261f07f4a9b4
* [ci skip] escape unintended url in docsChris Ciollaro2013-09-261-1/+1
|
* Fixing comment typo in ActionController::BaseAttila Domokos2013-09-131-1/+1
|
* Remove BasicRendering and remove template functionality from AbsC::RenderingJosé Valim2013-09-091-2/+1
|
* Move BasicRendering to AbstractControllerŁukasz Strzałkowski2013-09-031-1/+1
|
* Revert "Port all remaining self.protected_instance_variables to class methods"Łukasz Strzałkowski2013-09-021-6/+5
| | | | This reverts commit 7de994fa215e9f4c2856d85034bc4dd7b65d0c01.
* Port all remaining self.protected_instance_variables to class methodsŁukasz Strzałkowski2013-08-291-5/+6
|
* Fist stab on basic renderingŁukasz Strzałkowski2013-08-251-0/+1
|
* Do not include action_view/layoutsŁukasz Strzałkowski2013-08-251-1/+0
| | | | We don't need them. They'll be loaded automaticly if AV will be included
* Change documentation of metal anonymous classŁukasz Strzałkowski2013-08-251-5/+10
| | | | | | Make it clearer [ci skip]
* Load AV::Layouts dynamicly via railtiesŁukasz Strzałkowski2013-08-251-1/+0
|
* Code formatting & typo fixesŁukasz Strzałkowski2013-08-251-1/+1
|
* Move anonymous class to the top, add documentationŁukasz Strzałkowski2013-08-251-4/+9
|
* Create AbstractController::Rendering interfaceŁukasz Strzałkowski2013-08-251-1/+5
| | | | This interface should be use when implementing renderers.
* 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/+1
|
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-08-171-1/+1
|\ | | | | | | | | | | | | | | Conflicts: actionview/README.rdoc activerecord/lib/active_record/migration.rb guides/source/development_dependencies_install.md guides/source/getting_started.md
| * Revert "Merge branch 'master' of github.com:rails/docrails"Vijay Dev2013-08-171-1/+1
| | | | | | | | | | | | | | This reverts commit 70d6e16fbad75b89dd1798ed697e7732b8606fa3, reversing changes made to ea4db3bc078fb3093ecdddffdf4f2f4ff3e1e8f9. Seems to be a code merge done by mistake.
* | fix a gramatical mistakeRajeev N Bharshetty2013-08-021-1/+1
|/
* Typo fixAnkit Gupta2013-07-251-1/+1
| | | | | [skip ci] Fixing the typo which is formed a not required link. Check here http://api.rubyonrails.org/classes/ActionController/Base.html under paramters section keeping it under tt tag
* Remove ActionController::RecordIdentifier was deprecated.kennyj2013-06-011-1/+0
|
* replace present? with any? to reduce dependency on ASAaron Patterson2012-11-131-0/+1
|
* moving to new hash syntax, for discussion before I take the time on full foldersAvnerCohen2012-10-091-9/+9
|
* Merge pull request #7251 from rails/integrate-strong_parametersDavid Heinemeier Hansson2012-09-181-0/+1
|\ | | | | Integrate strong_parameters in Rails 4
| * Integrate ActionController::Parameters from StrongParameters gemGuillermo Iguaran2012-09-161-0/+1
| |
* | revises the RDoc of AC::Base.without_modulesXavier Noria2012-09-171-2/+2
| |
* | documents the request and response methods in AC::BaseXavier Noria2012-09-171-3/+21
|/
* Sprockets-rails tests failDmitry Vorotilin2012-09-011-1/+1
| | | | | | | Method invalid_asset_host! was delegated to controller but sprockets compile assets in their own scope without controller. And if we set asset_host with second parameter it should raise error through invalid_asset_host!. But since controller is nil it cannot be reached.
* Deprecate AV::RecordIdentifier in controllersPiotr Sarnacki2012-08-281-1/+1
| | | | | | | | Methods provided by RecordIdentifier are not widely used in controllers nowadays as they're view specific (this is probably a legacy left after RJS rendering directly in controllers). However if people still need to use it, it's trivial to include ActionView::RecordIdentifier by themselves.
* Move ActionController::RecordIdentifier to ActionViewPiotr Sarnacki2012-08-281-1/+1
| | | | | | | Since it's more about DOM classes and ids it belongs to Action View better. What's more, it's more convenient to make it part of Action View to follow the rule that Action Pack can depend on Action View, but not the other way round.