aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Re-add ActionController::ApiRenderingJon Moss2016-01-201-0/+4
| | | | | - Fixes bug #23142. - Bug was occurring only with ActionController::API, because `_process_options` wasn't being run for API requests, even though it was being run for normal app requests.
* 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)
* Return 204 if render is not called in API controllersJorge Bejar2015-06-111-0/+1
|
* Remove Compatibility module since we don't remember why it was added :smile:Jorge Bejar2015-06-111-1/+0
|
* Remove api_rendering is not neededSantiago Pastorino2015-06-111-4/+0
|
* Add ActionController API functionalitySantiago Pastorino2015-06-111-0/+5
|
* Override default form builder for a controllerKevin McPhillips2015-04-131-0/+1
|
* Add ActionController::Rendererbrainopia2015-01-221-0/+1
| | | | Render arbitrary templates outside of controller actions
* remove autoload HideActions, no longer existyuuji.yaginuma2015-01-111-1/+0
|
* Responder was removed at ee77770d57de9da87b05a2fe84b9d46ec6852c62Akira Matsuda2014-09-301-1/+0
|
* 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
* Remove deprecated cattr_* requiresGenadi Samokovarov2013-12-031-1/+1
|
* Remove BasicRendering testsJosé Valim2013-09-091-1/+0
|
* Load HTML in ActionView not ActionPackŁukasz Strzałkowski2013-08-251-1/+0
| | | | HTML Scanner is part of ActionView and it should be loaded along with it
* Fist stab on basic renderingŁukasz Strzałkowski2013-08-251-0/+1
|
* Do not load AV inside APŁukasz Strzałkowski2013-08-251-8/+0
| | | | Move that part to AV railtie
* Remove deprecated constants autoloadCarlos Antonio da Silva2013-07-021-3/+0
| | | | | These constants were removed in 4b97ce5eb16cc20207516387fba98bf577e2e281, but I forgot to remove the autoload calls :sparkles:.
* Remove ActionController::RecordIdentifier was deprecated.kennyj2013-06-011-4/+0
|
* extract PerformanceTest into rails-performance_tests gemYves Senn2013-01-101-1/+0
|
* Add config.action_controller.permit_all_attributes to bypass ↵Guillermo Iguaran2012-09-161-0/+1
| | | | StrongParameters protection
* Integrate ActionController::Parameters from StrongParameters gemGuillermo Iguaran2012-09-161-0/+1
|
* Sprockets-rails tests failDmitry Vorotilin2012-09-011-1/+0
| | | | | | | 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.
* Don't require action_dispatch in ActionView::UrlHelpersPiotr Sarnacki2012-08-281-0/+4
| | | | | | | | | | ActionDispatch::Routing::UrlFor was always required in UrlHelpers. This was changed by splitting previous implementation of UrlHelper into 2 modules: ActionView::Helpers::UrlHelper and ActionView::Routing::UrlHelper. The former one keeps only basic implementation of url_for. The latter adds features that allow to use routes and is only required when url_helpers or mounted_helpers are required.
* Move action_controller/vendor/html-scanner to action_viewPiotr Sarnacki2012-08-281-1/+1
| | | | | | This is another step in moving Action View's dependencies in Action Pack to Action View itself. Also, HtmlScanner seems to be better suited for views rather than controllers.
* Deprecate ActionController::RecordIdentifierPiotr Sarnacki2012-08-281-0/+4
|
* Move ActionController::RecordIdentifier to ActionViewPiotr Sarnacki2012-08-281-4/+0
| | | | | | | 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.
* Remove dependency on actionpack in ActionView::AssetPathsPiotr Sarnacki2012-08-281-0/+1
| | | | | | Since Action View should not depend on actionpack, it's best to delegate invalid_asset_host! to controller and just rely on such simple contract instead of raising ActionController::RoutingError directly.
* Get rid of config.preload_frameworks in favor of config.eager_load_namespacesJosé Valim2012-08-211-0/+6
| | | | | | | The new option allows any Ruby namespace to be registered and set up for eager load. We are effectively exposing the structure existing in Rails since v3.0 for all developers in order to make their applications thread-safe and CoW friendly.
* load active_support/core_ext/module/delegation in active_support/railsXavier Noria2012-08-021-1/+0
|
* load active_support/concern 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.
* added live responses which can be written and read in separate threadsAaron Patterson2012-07-291-0/+1
|
* Remove --http.José Valim2012-03-141-1/+0
|
* Add ActionController::HTTPSantiago Pastorino2012-03-141-0/+1
| | | | | | More info http://edgeguides.rubyonrails.org/api_app.html [Carlos Antonio da Silva & Santiago Pastorino]
* Remove unused ActionController::SessionManagementSantiago Pastorino2012-03-061-1/+0
|
* remove autoload UrlWriter, no longer existsVishnu Atrai2012-01-291-1/+0
|
* Revert the serializers API as other alternatives are now also under discussionJosé Valim2011-11-251-1/+0
|
* Initial commit of serializer supportJose and Yehuda2011-10-151-0/+1
|
* TODO fix explicitly loading exceptations, autoload removedVishnu Atrai2011-07-111-15/+0
|
* Restructure TemplateAssertions-related code to eliminate circular requires.wycats2011-05-221-6/+7
| | | Also, no need to include dependencies in AS::Concerns inside included blocks.
* Add `ActionController::ParamsWrapper` to wrap parameters into a nested hashPrem Sichanugrist2011-05-031-0/+1
| | | This will allow us to do a rootless JSON/XML request to server.
* Body... wanna *stream* my body? Body... such a thrill my body!José Valim2011-04-181-0/+1
| | | | | Added stream as class level method to make it explicit when to stream. Render also accepts :stream as option.
* Rename it to DataStreaming.José Valim2011-04-181-1/+1
|
* Add controller-specific `force_ssl` method to force web browser to use HTTPS ↵Prem Sichanugrist2011-03-281-0/+1
| | | | | | | | protocol This would become useful for site which sometime transferring sensitive information such as account information on particular controller or action. This featured was requested by DHH.
* Move uri parser to AS as URI.parser method to reuse it in AP and ARes.Emilio Tagua2010-09-281-1/+1
|
* Remove warning "URI.unescape is obsolete" from actionpack.Emilio Tagua2010-09-271-0/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Partial revert of #d650b71 'Remove deprecated stuff in ActionController'Carlos Antonio da Silva2010-09-261-0/+5
| | | | | This brings back the deprecated modules from ActionController, because they didn't have any deprecation warning.
* Remove deprecated stuff in ActionControllerCarlos Antonio da Silva2010-09-261-5/+0
| | | | | | This removes all deprecated classes in ActionController related to Routing, Abstract Request/Response and Integration/IntegrationTest. All tests and docs were changed to ActionDispatch instead of ActionController.
* Revert "Setup explicit requires for files with exceptions. Removed them from ↵José Valim2010-09-021-0/+15
| | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6.
* Setup explicit requires for files with exceptions. Removed them from ↵Łukasz Strzałkowski2010-09-021-15/+0
| | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com>