aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3613 from mitio/fix-actionpack-responder-docsXavier Noria2011-11-111-4/+4
|\ | | | | Fix wording and minor typos in the Responder RDoc
| * Fix wording and minor typos in the Responder RDocDimitar Dimitrov2011-11-111-4/+4
| |
* | Merge pull request #3581 from amatsuda/metal_response_body_19José Valim2011-11-101-1/+7
|\ \ | | | | | | AC::Metal#response_body= stores different value in Ruby 1.8 and 1.9
| * | Fix AC::Metal#response_body= to store same value on Ruby 1.8 and 1.9Akira Matsuda2011-11-071-1/+7
| | | | | | | | | | | | This was because String#respond_to?(:each) differs in 1.8 and 1.9
* | | DrbStore removed from cache backendsIvan Evtukhovich2011-11-071-1/+0
| | |
* | | fix incorrect code exampleVijay Dev2011-11-071-1/+1
|/ /
* | this should never return nil, so no use for "try"Aaron Patterson2011-10-311-1/+1
| |
* | Ensure that the format isn't applied twice to the cache key, else it becomes ↵Christopher Meiklejohn2011-10-311-1/+1
| | | | | | | | impossible to target with expire_action.
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-10-301-2/+2
|\ \
| * | add namespacing when referring to ActionController::RedirectBackErrorNick Howard2011-10-251-2/+2
| | |
* | | Responders now return 204 No Content for API requests without a response ↵José Valim2011-10-261-21/+1
|/ / | | | | | | body (as in the new scaffold)
* | HTMl -> HTML: html scanner comment fixAlexey Vakhov2011-10-151-1/+1
| |
* | Update AC::RecordIdentifier exampleAlexey Vakhov2011-10-151-2/+2
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-10-142-2/+4
|\
| * status is a number in Rails 3Akira Matsuda2011-10-121-2/+2
| |
| * Add ActionController#head exampleAlexey Vakhov2011-10-111-0/+2
| |
* | Support symbol and string actions in AC#respond_to optionsAlexey Vakhov2011-10-111-3/+3
|/
* JSON responder should return errors with :error rootDenis Odorcic2011-10-101-1/+9
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-10-091-1/+1
|\
| * Fix params hash example in AC::Base commentAlexey Vakhov2011-10-081-1/+1
| |
* | accept optional :host parameter to force_sslBen Scheirman2011-10-081-2/+5
| |
* | Remove unnecessary dup in expire_pageAlexey Vakhov2011-10-081-1/+1
|/
* Merge pull request #3193 from avakhov/patch-ac-test-case-safe-constantizeJosé Valim2011-10-031-3/+1
|\ | | | | use safe_constantize instead constantize in AC::TestCase
| * use safe_constantize instead constantize in AC::TestCaseAlexey Vakhov2011-10-031-3/+1
| |
* | normalize arg for AC::TestCase tests class methodAlexey Vakhov2011-10-031-2/+14
|/
* add missing require to html sanitizerAlexey Vakhov2011-09-271-0/+1
|
* Use safe_constantize where possible.José Valim2011-09-231-6/+3
|
* Change log level for CSRF token verification warningMike Dillon2011-09-101-1/+1
|
* Nicolás Hock Isaza2011-09-061-1/+1
| | | | | Fixing `record_key_for_dom_id` documentation. The default implementation joins everything with '_' and not with '-'
* Eliminate newlines in basic auth. fixes #2882Aaron Patterson2011-09-061-1/+1
|
* if ... nil? is more expensive than unlessMilan Dobrota2011-09-043-5/+5
|
* fix helpers behavior descriptionAlexey Vakhov2011-09-031-3/+6
|
* deletes spurious arrowXavier Noria2011-08-271-1/+1
|
* doc fixesVijay Dev2011-08-281-8/+8
|
* Make ActionController::TestCase#recycle! set @protocol to nilDavid Majda2011-08-231-1/+1
| | | | | | | | | | This ensures that the protocol does not get carried over when there are two or more requests in functional tests. This was a problem when e.g. the first request was HTTP and the second request was HTTPS. Closes #2654. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
* Don't modify params in place - fixes #2624Andrew White2011-08-231-5/+3
|
* Merge pull request #2596 from dharmatech/patch-1Santiago Pastorino2011-08-201-1/+1
|\ | | | | ActionController::Redirecting : fix docs typo
| * ActionController::Redirecting : fix docs typodharmatech2011-08-201-1/+1
| |
* | Merge pull request #2597 from dharmatech/patch-2Santiago Pastorino2011-08-201-1/+1
|\ \ | | | | | | actionpack/lib/action_controller/base.rb: docs typo
| * | actionpack/lib/action_controller/base.rb: docs typodharmatech2011-08-201-1/+1
| |/
* / params wrapper docs correctionVijay Dev2011-08-211-4/+3
|/
* Tags with invalid names should also be stripped in order to preventAaron Patterson2011-08-161-1/+1
| | | | XSS attacks. Thanks Sascha Depold for the report.
* Use lazy load hooks to set parameter wrapping configuration. This means that ↵Jon Leighton2011-08-161-2/+0
| | | | it doesn't force Action Controller / Active Record to load, but it doesn't fail if they have already loaded. Thanks @josevalim for the hint.
* Don't refer to ActionController::Base in the wrap_parameters initializer - ↵Jon Leighton2011-08-161-0/+2
| | | | use config object instead. Cuts about 15% off the load time. (#734)
* Methods like status and location are interfering with redirect_to [Closes #2511]Franck Verrot2011-08-141-3/+3
|
* Merge branch 'master' of github.com:lifo/docrailsXavier Noria2011-08-131-1/+1
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: RELEASING_RAILS.rdoc actionpack/lib/sprockets/railtie.rb actionpack/test/template/sprockets_helper_test.rb activerecord/test/cases/calculations_test.rb railties/guides/source/3_1_release_notes.textile railties/guides/source/active_resource_basics.textile railties/guides/source/command_line.textile
| * Typo fixOge Nnadi2011-08-131-1/+1
| |
| * Fix the issue where default_url_options is being cached on test cases. ↵thoefer2011-08-132-0/+6
| | | | | | | | | | | | Closes #1872. Closes #2031. Signed-off-by: José Valim <jose.valim@gmail.com>
* | x_sendfile_header now defaults to nil and production.rb env file doesn'tSantiago Pastorino2011-08-071-1/+1
| | | | | | | | | | | | | | set a particular value for it. This allows servers to set it through X-Sendfile-Type, read https://github.com/rack/rack/blob/master/lib/rack/sendfile.rb for more info. Anyways you can force this value in your production.rb
* | Fix the issue where default_url_options is being cached on test cases. ↵thoefer2011-08-012-0/+6
|/ | | | | | Closes #1872. Closes #2031. Signed-off-by: José Valim <jose.valim@gmail.com>