Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | eagerly allocate the renderer object | Aaron Patterson | 2015-09-14 | 1 | -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_code | Rafael Mendonça França | 2015-09-01 | 1 | -4/+0 |
|\ | | | | | Remove dead code | ||||
| * | Remove dead code | Marcin Olichwirowicz | 2015-08-19 | 1 | -4/+0 |
| | | |||||
* | | remove RackDelegation module | Aaron Patterson | 2015-08-26 | 1 | -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" list | Aaron Patterson | 2015-08-26 | 1 | -1/+1 |
|/ | | | | these ivars don't exist anymore, so we can remove them from the list | ||||
* | stop using @_env in the controller instance | Aaron Patterson | 2015-08-07 | 1 | -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-1 | Yves Senn | 2015-08-01 | 1 | -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 Winkler | 2015-07-23 | 1 | -1/+1 |
|/ | |||||
* | fixed sring to be string in ActiveRecord::Base params documentation | Colby Swandale | 2015-06-12 | 1 | -1/+1 |
| | |||||
* | better clarity of params source in ActionController::Base documentation [ci ↵ | Colby Swandale | 2015-06-11 | 1 | -3/+3 |
| | | | | skip] | ||||
* | Override default form builder for a controller | Kevin McPhillips | 2015-04-13 | 1 | -0/+1 |
| | |||||
* | Remove ActionController::HideActions (closes #18336) | brainopia | 2015-01-06 | 1 | -1/+0 |
| | |||||
* | :scissors: | Rafael Mendonça França | 2014-11-26 | 1 | -1/+1 |
| | |||||
* | getting the location of the server | dilpreet92 | 2014-11-26 | 1 | -2/+2 |
| | |||||
* | When your templates change, browser caches bust automatically. | Jeremy Kemper | 2014-08-17 | 1 | -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 option | robertomiranda | 2014-02-18 | 1 | -1/+1 |
| | | | | ref #14062 | ||||
* | Require action_view explicitly in AC::Base | Łukasz Strzałkowski | 2013-12-08 | 1 | -0/+1 |
| | |||||
* | Retain ActionPack dependency on ActionView | Łukasz Strzałkowski | 2013-12-05 | 1 | -15/+3 |
| | |||||
* | Use genderless pronouns in API docs | Guillermo Iguaran | 2013-12-01 | 1 | -1/+1 |
| | |||||
* | calculate the ivars to remove in advance as a set and cache them in a | Aaron Patterson | 2013-11-06 | 1 | -3/+10 |
| | | | | | | | constant. `view_assigns` can use the precalculated sets and remove instance variables without allocating any extra arrays | ||||
* | Typo fix [ci skip] | Arun Agrawal | 2013-10-09 | 1 | -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 docs | Chris Ciollaro | 2013-09-26 | 1 | -1/+1 |
| | |||||
* | Fixing comment typo in ActionController::Base | Attila Domokos | 2013-09-13 | 1 | -1/+1 |
| | |||||
* | Remove BasicRendering and remove template functionality from AbsC::Rendering | José Valim | 2013-09-09 | 1 | -2/+1 |
| | |||||
* | Move BasicRendering to AbstractController | Łukasz Strzałkowski | 2013-09-03 | 1 | -1/+1 |
| | |||||
* | Revert "Port all remaining self.protected_instance_variables to class methods" | Łukasz Strzałkowski | 2013-09-02 | 1 | -6/+5 |
| | | | | This reverts commit 7de994fa215e9f4c2856d85034bc4dd7b65d0c01. | ||||
* | Port all remaining self.protected_instance_variables to class methods | Łukasz Strzałkowski | 2013-08-29 | 1 | -5/+6 |
| | |||||
* | Fist stab on basic rendering | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+1 |
| | |||||
* | Do not include action_view/layouts | Łukasz Strzałkowski | 2013-08-25 | 1 | -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łkowski | 2013-08-25 | 1 | -5/+10 |
| | | | | | | Make it clearer [ci skip] | ||||
* | Load AV::Layouts dynamicly via railties | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+0 |
| | |||||
* | Code formatting & typo fixes | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+1 |
| | |||||
* | Move anonymous class to the top, add documentation | Łukasz Strzałkowski | 2013-08-25 | 1 | -4/+9 |
| | |||||
* | Create AbstractController::Rendering interface | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+5 |
| | | | | This interface should be use when implementing renderers. | ||||
* | Fix AP test suite after moving stuff to AV | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+1 |
| | |||||
* | Move layouts to AV | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2013-08-17 | 1 | -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 Dev | 2013-08-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | This reverts commit 70d6e16fbad75b89dd1798ed697e7732b8606fa3, reversing changes made to ea4db3bc078fb3093ecdddffdf4f2f4ff3e1e8f9. Seems to be a code merge done by mistake. | ||||
* | | fix a gramatical mistake | Rajeev N Bharshetty | 2013-08-02 | 1 | -1/+1 |
|/ | |||||
* | Typo fix | Ankit Gupta | 2013-07-25 | 1 | -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. | kennyj | 2013-06-01 | 1 | -1/+0 |
| | |||||
* | replace present? with any? to reduce dependency on AS | Aaron Patterson | 2012-11-13 | 1 | -0/+1 |
| | |||||
* | moving to new hash syntax, for discussion before I take the time on full folders | AvnerCohen | 2012-10-09 | 1 | -9/+9 |
| | |||||
* | Merge pull request #7251 from rails/integrate-strong_parameters | David Heinemeier Hansson | 2012-09-18 | 1 | -0/+1 |
|\ | | | | | Integrate strong_parameters in Rails 4 | ||||
| * | Integrate ActionController::Parameters from StrongParameters gem | Guillermo Iguaran | 2012-09-16 | 1 | -0/+1 |
| | | |||||
* | | revises the RDoc of AC::Base.without_modules | Xavier Noria | 2012-09-17 | 1 | -2/+2 |
| | | |||||
* | | documents the request and response methods in AC::Base | Xavier Noria | 2012-09-17 | 1 | -3/+21 |
|/ | |||||
* | Sprockets-rails tests fail | Dmitry Vorotilin | 2012-09-01 | 1 | -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 controllers | Piotr Sarnacki | 2012-08-28 | 1 | -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 ActionView | Piotr Sarnacki | 2012-08-28 | 1 | -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. |