aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Remove deprecated support to <% form_for %> and several ↵José Valim2010-08-291-1/+0
| | | | ActionController::Base methods.
* Moved PolymorphicRoutes to ActionDispatch::RoutingPiotr Sarnacki2010-07-201-1/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* No need to create a new module in the previous commit.José Valim2010-07-191-1/+0
|
* Exceptions from views should be rescued based on the original exception. If ↵Neeraj Singh2010-07-191-0/+1
| | | | | | | | a handler for original exception is missing then apply ActiveView::TemplateError [#2034 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* edit pass: the names of Rails components have a space, ie, "Active Record", ↵Xavier Noria2010-06-141-1/+1
| | | | not "ActiveRecord"
* Move verification to a plugin as well: http://github.com/rails/verification.gitJosé Valim2010-04-101-1/+0
|
* Move AC::UrlRewriter onto route setJoshua Peek2010-03-091-1/+0
|
* Remove a failed attempt at refactoring AC configurationCarlhuda2010-03-031-1/+0
|
* Actually move ImplicitRender into it's own fileCarl Lerche2010-03-031-0/+1
|
* Continued effort to deglobalize the routerCarlhuda2010-02-251-1/+1
|
* WIP: Remove the global routerCarlhuda2010-02-251-1/+1
|
* ActionMailer should depend just on AbstractController.José Valim2010-01-291-6/+4
|
* Tidy up new filter_parameters implementation.José Valim2010-01-211-1/+0
|
* Move ActionController::Translation to AbstractController::Translation.José Valim2010-01-201-1/+0
|
* Move Dispatcher setup to Railties and add instrumentation hook.José Valim2010-01-151-1/+1
|
* Add subscriber for ActionPack and move all logging inside it.José Valim2010-01-131-1/+1
|
* Remove duplicated url_for code and move methods shared between ActionMailer ↵José Valim2010-01-071-1/+0
| | | | and ActionController up to AbstractController.
* Autoload AC and AV test case classesJoshua Peek2010-01-041-3/+5
|
* ActionController::Logger should include AbstractController::Logger and sort ↵José Valim2009-12-311-7/+7
| | | | autoloads for easier readability.