aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a bug where responders were not working properly on method override.José Valim2010-05-241-1/+1
|
* Ruby 1.9: helper path may be a pathname, so convert to a string before ↵Jeremy Kemper2010-05-161-1/+1
| | | | quoting for regexp
* Eliminate false positives when passing symbols to assert_templateDavid Chelimsky2010-05-031-1/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Change event namespace ordering to most-significant first [#4504 state:resolved]Justin George2010-05-024-11/+11
| | | | | | | | | More work still needs to be done on some of these names (render_template.action_view and render_template!.action_view particularly) but this allows (for example) /^sql/ to subscribe to all the various ORMs without further modification Signed-off-by: José Valim <jose.valim@gmail.com>
* add HTTP Token Authorization support to complement Basic and Digest ↵rick2010-04-302-0/+159
| | | | Authorization.
* ActionCachingTestController rescues from all exceptions. Making sure that ↵Neeraj Singh2010-04-291-1/+1
| | | | | | all the tests check for valid response. [#4468 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* extract ActionController::TestCase::BehaviorDavid Chelimsky2010-04-261-126/+133
| | | | | | | | | | - this makes it possible for other test frameworks to hook into testing facilities provided by Rails without having to subclass AC::TestCase. [#4474 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* allow unsubscribe by name or subscription [#4433 state:resolved]David Chelimsky2010-04-241-0/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Always downstream given options in :json, :xml and :js renderers and add ↵José Valim2010-04-221-2/+2
| | | | tests for it.
* Clean up the config object in ActionPack. Create config_accessor which just ↵José Valim2010-04-228-165/+93
| | | | delegates to the config object, reducing the number of deprecations and add specific tests.
* It should be possible to render :json with optionswycats2010-04-201-1/+1
|
* perform_caching is now delegated to config on instance and class levelSantiago Pastorino2010-04-171-2/+3
|
* Revert "Avoid deprecation warnings and potential TypeErrors [#4404 ↵Carl Lerche2010-04-161-1/+0
| | | | | | | state:resolved]" Revert "protected instance variables added to the deprecated config accessor This reverts commit 4bce5ba600596b5e7afec9b097866ac259c5940a and 0ee2d3c89a893f0c53924cbb756c7e9be616eb8f.
* page_cache_extension is delegating to config so no need to deprecateSantiago Pastorino2010-04-161-1/+0
|
* Make perform_caching work again, with the tests passing and backward compatibleSantiago Pastorino and Carl Lerche2010-04-153-11/+10
|
* Revert "logger added to the deprecated config accessor" we need a major ↵Santiago Pastorino and Carl Lerche2010-04-151-1/+0
| | | | | | refactor to get this working This reverts commit 68f4e046a7f5db3f7c48a3721bead73a625b6f6e.
* logger added to the deprecated config accessorSantiago Pastorino2010-04-141-0/+1
|
* protected instance variables added to the deprecated config accessorSantiago Pastorino2010-04-141-0/+1
|
* asset and helper path added to the deprecated config accessorSantiago Pastorino2010-04-141-0/+2
|
* page_cache added to the deprecated config accessorSantiago Pastorino2010-04-141-3/+6
|
* Make use of config.perform_cachingSantiago Pastorino2010-04-142-6/+6
|
* Fix missing dependency on Hash#to_querySantiago Pastorino2010-04-141-0/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge commit 'docrails/master'Xavier Noria2010-04-141-1/+1
|\
| * Replace 'RAILS_ROOT' to 'Rails.root' and 'RAILS_ENV' to 'Rails.env' in ↵Anil Wadghule2010-04-121-1/+1
| | | | | | | | significant places.
* | config.perform_caching added to the deprecated config accessor [#4383 ↵Santiago Pastorino2010-04-131-1/+2
|/ | | | | | state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Move verification to a plugin as well: http://github.com/rails/verification.gitJosé Valim2010-04-103-140/+19
|
* fix stack trace lines on class_evalSantiago Pastorino2010-04-091-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add accessors for request and response so tests don't have to mess with ↵Michael Koziarski2010-04-091-0/+2
| | | | internal ivars
* Fix a bug in ActionDispatch::Static where Rails cannot find assets if ↵José Valim2010-04-083-4/+8
| | | | started in another directory which is not the RAILS_ROOT.
* Move the error raising to api_behavior.José Valim2010-04-071-1/+2
|
* Merge commit 'rails/master'Xavier Noria2010-04-065-57/+70
|\
| * Rename config.cookie_secret to config.secret_token and pass it as ↵José Valim2010-04-055-14/+16
| | | | | | | | configuration in request.env. This is another step forward removing global configuration.
| * Move filter_parameter_logger to deprecated.rbwycats2010-04-041-0/+9
| |
| * Make it easier to subclass AC::Metal with most, but not all, of the modules ↵wycats2010-04-041-43/+45
| | | | | | | | in AC::Base
| * Whitespacewycats2010-04-041-1/+1
| |
* | revises some <%= in rdocXavier Noria2010-04-052-2/+2
|/
* Merge commit 'docrails/master'Xavier Noria2010-04-041-1/+1
|\
| * Update various documentation examples to use new routing DSLAndrew White2010-04-041-1/+1
| |
* | Fix signed cookies by explicitly passing config to the cookie jarJeremy Kemper2010-04-041-2/+3
| |
* | * Change the object used in routing constraints to be an instance ofwycats2010-04-032-2/+2
|/ | | | | | | | | | | ActionDispatch::Request rather than Rack::Request. * Changed ActionDispatch::Request#method to return a String, to be compatible with the Rack::Request superclass. * Changed ActionDispatch::Request#method to return the original method in the case of methodoverride and #request_method not to, to be compatible with Rack::Request
* Deprecate cookie_verifier_secret in favor of config.cookie_secret allowing ↵José Valim2010-03-312-1/+12
| | | | signed cookies to work again.
* Consistent routing languageJoshua Peek2010-03-302-8/+8
|
* Replace the placeholder base_hook API with on_load. To specify some code thatwycats2010-03-292-7/+6
| | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end
* Fix dom_id for ActiveRecord [#4296 state:resolved]José Valim2010-03-301-2/+2
|
* adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-284-0/+5
|
* Ensure details are frozen after @details_keys lookup. The implementation ↵José Valim2010-03-271-2/+1
| | | | waits to freeze until the last required moment, to avoid duping hashes.
* Fixes typo (ht: Claudio Poli) [#4107 state:closed]wycats2010-03-261-1/+1
|
* Move application configuration to the application configuration object, ↵José Valim2010-03-263-7/+9
| | | | remove railtie_name and engine_name and allow to set the configuration object.
* response_body is an Array in 1.9, so an Array was being pushed onto the cachewycats2010-03-191-0/+2
|
* Fix protect_against_forgeryCarlhuda2010-03-191-1/+3
|