aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
...
* Add notes on how to override the default :id constraint [#5994 state:resolved]Andrew White2011-02-141-1/+8
|
* Remove incorrect assert_recognizes exampleAndrew White2011-02-131-3/+0
|
* Fix assert_recognizes with block constraints [#5805 state:resolved]Andrew White2011-02-133-6/+13
|
* Add missing deprecation requireCarlos Antonio da Silva2011-02-111-0/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Change the CSRF whitelisting to only apply to get requestsMichael Koziarski2011-02-081-1/+2
| | | | | | | | Unfortunately the previous method of browser detection and XHR whitelisting is unable to prevent requests issued from some Flash animations and Java applets. To ease the work required to include the CSRF token in ajax requests rails now supports providing the token in a custom http header: X-CSRF-Token: ... This fixes CVE-2011-0447
* Use Mime::Type references.José Valim2011-02-081-1/+5
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-02-051-17/+39
|\
| * improve routing docs, mostly for #matchGabriel Horner2011-02-051-12/+34
| |
| * keep options titles consistent to "Options"Gabriel Horner2011-02-031-5/+5
| |
* | fixed bug with nested resources within shallow scopegerman2011-02-041-1/+1
| | | | | | | | | | | | [#6372 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Protocol-relative URL support.Stephen Celis2011-02-021-2/+5
|/ | | | | | [#5774 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-02-023-94/+194
|\
| * explain different ways to use match()Jonathan Dance + Gabriel Horner2011-01-291-9/+16
| |
| * organize and expand on options for routing methodsJonathan Dance + Gabriel Horner2011-01-291-81/+161
| |
| * corrected the location of status code symbolsmisfo2011-01-291-1/+1
| |
| * add cross-references and documentation for scopeJonathan Dance + Gabriel Horner2011-01-281-0/+12
| |
| * fix cross-references in HttpHelper methodsJonathan Dance + Gabriel Horner2011-01-281-4/+4
| |
| * clarify what the "they" that are is and what the "are" in question isMatt Jankowski2011-01-271-1/+2
| |
* | Use run_callbacks; the generated _run_<name>_callbacks method is not a ↵John Firebaugh2011-01-312-5/+5
| | | | | | | | | | | | public interface. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Add tld_length option when using domain :all in cookiesbrainopia2011-01-211-9/+9
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Support list of possible domains for cookiesbrainopia2011-01-211-0/+3
|/ | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* removing more unused variablesAaron Patterson2011-01-171-1/+1
|
* use raise to create exceptions and to set the backtraceAaron Patterson2011-01-122-2/+2
|
* reraising should be in the rescue blockAaron Patterson2011-01-121-1/+1
|
* Refactor to handle the X-Cascade without having to raise an exceptionKrekoten' Marjan2011-01-091-12/+12
|
* render :template is faster than render :fileSantiago Pastorino2011-01-012-5/+4
|
* This is not needed anymoreSantiago Pastorino2011-01-011-3/+0
|
* Don't deprecate to_prepare.José Valim2010-12-231-4/+4
|
* Clean up callbacks should also be called on exceptions.José Valim2010-12-231-0/+3
|
* Typo (request -> response)John Firebaugh2010-12-211-1/+1
|
* Expand ActionDispatch::Reloader docsJohn Firebaugh2010-12-211-6/+14
|
* Small changes on AD::Reloader.José Valim2010-12-201-20/+3
|
* Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepareJohn Firebaugh2010-12-201-25/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Introduce ActionDispatch::ReloaderJohn Firebaugh2010-12-201-0/+82
| | | | | | | | | | | | Based on the implementation on the 2-3-stable branch, patches by Hongli Lai <hongli@phusion.nl>, and helpful suggestions from José Valim. Hongli Lai's patches included locking around the request cycle; this is now handled by Rack::Lock (https://github.com/rack/rack/issues/issue/87/). [#2873] Signed-off-by: José Valim <jose.valim@gmail.com>
* dry up case / when statementAaron Patterson2010-12-171-5/+3
|
* Fix edge cases for domain :all option on cookie storebrainopia2010-12-161-2/+5
| | | | | | | | Dont set explicit domain for cookies if host is not a domain name [#6002 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fix indentation on the namespace method's documentationRyan Bigg2010-12-131-16/+16
|
* Provide an example for ActionDispatch::Routing::Mapper#scopeRyan Bigg2010-12-111-0/+12
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-111-5/+10
|\ | | | | | | | | Conflicts: activerecord/lib/active_record/transactions.rb
| * Action Controller Overview: Remove dead link to the API docs for filtersRyan Bigg2010-12-101-0/+1
| |
| * root method options are the same as the match methodRyan Bigg2010-12-101-0/+2
| |
| * root route should go at the *top* of the routes file, because it is the most ↵Ryan Bigg2010-12-091-1/+3
| | | | | | | | popular route and should be matched first
| * indent code samples for mount docRyan Bigg2010-12-091-3/+3
| |
| * mapper.rb: add "options" to make the default-to-namespace-name line read betterRyan Bigg2010-12-091-1/+1
| |
* | Check if the routes object really responds to define_mount_prefix.José Valim2010-12-091-1/+1
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-051-2/+2
|\
| * Fix mime type doc typosCarlos Antonio da Silva2010-12-041-2/+2
| |
* | Wrap everything in class << self.José Valim2010-12-031-42/+37
| |
* | Merge remote branch 'joshk/redirect_routing'José Valim2010-12-034-79/+184
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/CHANGELOG actionpack/lib/action_controller/metal/mime_responds.rb Signed-off-by: José Valim <jose.valim@gmail.com>
| * | Added documentation explaining the new additional supported syntaxes for the ↵Josh Kalderimis2010-11-301-0/+29
| | | | | | | | | | | | routing redirect method, a small changelog note, and two extra tests for path interpolation when using the hash option syntax.