aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #387 from smartinez87/remove_method.José Valim2011-05-041-2/+3
|\ | | | | Use #remove_possible_method instead
| * Use #remove_possible_method instead hereSebastian Martinez2011-05-041-2/+3
| |
* | Fix renew feature on cookies.José Valim2011-05-041-1/+1
| |
* | Fix .subdomain regression.José Valim2011-05-041-1/+1
|/
* cache strings in the AST for faster comparison than include?Aaron Patterson2011-05-031-6/+3
|
* Merge pull request #377 from joshk/rails_legacy_mapper_message.José Valim2011-05-031-0/+5
|\ | | | | raise an error if the old router draw method is used
| * raise an error if the old router draw method is used, along with a message ↵Josh Kalderimis2011-05-031-0/+5
| | | | | | | | advising them to either upgrade their routes or add rails_legacy_mapper to their Gemfile
* | Sets the HTTP charset parameter for rescue response.Matias Korhonen2011-05-031-1/+1
| |
* | Rescues template HTML5 doctype and the utf8 charset meta tag, and better ↵Matias Korhonen2011-05-031-2/+4
| | | | | | | | font choices for Mac users.
* | Static middleware accepts cache control.José Valim2011-05-031-4/+4
|/
* Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2011-05-022-5/+24
|\
| * More performance optimizations.José Valim2011-05-031-5/+0
| |
| * Improve performance for filtered parameters and add tests.José Valim2011-05-031-0/+5
| |
| * Allow ignore_accept_header through configuration option.José Valim2011-05-021-0/+2
| |
| * Add ignore_accept_header config to AD::Request.José Valim2011-05-021-5/+22
| |
* | Flunk makes a lot more sense, doesnt it (hat tip @tenderlove)David Heinemeier Hansson2011-05-021-1/+1
|/
* Explicitly define main_app proxyPiotr Sarnacki2011-04-251-2/+1
|
* show http method in routing error messageSchneems2011-04-231-1/+1
|
* We cant use assert_block because its buggy in MiniTest and wont actually ↵David Heinemeier Hansson2011-04-221-1/+1
| | | | show you the failure message you provide -- instead you just always get a "Expected block to return true"
* Fix tests on 1.8 by explicitly checking for strings (which also improves ↵José Valim2011-04-201-1/+9
| | | | performance).
* Use initialize_copy! to proper initialize now on clone.José Valim2011-04-191-15/+18
|
* Don't reuse a closed flash when using nowFlorent Piteau2011-04-201-1/+5
|
* Do not inherit from Rack::Response, remove a shit-ton of unused code.José Valim2011-04-192-53/+49
|
* Be sure to not store the closed flash in the session.José Valim2011-04-191-16/+25
|
* Make static faster as we don't have to serve multiple paths anymore.José Valim2011-04-151-28/+15
|
* generated session ids should be encoded as UTF-8Aaron Patterson2011-04-141-1/+3
|
* Remove `#among?` from Active SupportPrem Sichanugrist2011-04-133-4/+4
| | | | | | After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now. It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
* renames response_from_page_or_rjs -> response_from_page, and extracts the ↵Xavier Noria2011-04-131-58/+5
| | | | RJS in it
* removes assert_select_rjsXavier Noria2011-04-131-139/+1
|
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵David Heinemeier Hansson2011-04-124-5/+5
| | | | suggestion!
* Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-114-5/+10
| | | | There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
* Merge branch 'master' of github.com:rails/railsAaron Patterson2011-04-071-1/+1
|\ | | | | | | | | | | | | | | | | | | * 'master' of github.com:rails/rails: Cache flash now Revert "Use freeze instead of close!" Revert "Eagerly load Signed and Permanent cookies" cookies here Eagerly load Signed and Permanent cookies Use freeze instead of close!
| * Cache flash nowSantiago Pastorino2011-04-071-1/+1
| |
| * Revert "Use freeze instead of close!"Santiago Pastorino2011-04-072-5/+14
| | | | | | | | This reverts commit 29592a7f09dda2e7e1e0a915d9230fe6a9b5c0af.
| * Revert "Eagerly load Signed and Permanent cookies"Santiago Pastorino2011-04-071-17/+10
| | | | | | | | This reverts commit dffeda377021ba8691381195f5a2889f8e040b93.
| * Eagerly load Signed and Permanent cookiesSantiago Pastorino2011-04-071-10/+17
| |
| * Use freeze instead of close!Santiago Pastorino2011-04-062-14/+5
| |
* | getting the flash hash under testAaron Patterson2011-04-061-0/+4
| |
* | favor composition over inheritance, have FlashHash delegate to a HashAaron Patterson2011-04-061-7/+40
|/
* CookieJar should prefer composition over inheritanceAaron Patterson2011-04-061-6/+10
|
* Make process reuse the env var passed as argumentSantiago Pastorino2011-04-061-5/+4
|
* raise if someone tries to modify the cookies when it was already streamed ↵Santiago Pastorino2011-04-061-0/+12
| | | | back to the client or converted to HTTP headers
* Add ClosedError message to the initializerSantiago Pastorino2011-04-062-5/+9
|
* raise if someone tries to modify the flash when it was already streamed back ↵Santiago Pastorino2011-04-051-1/+19
| | | | to the client or converted to HTTP headers
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-031-8/+8
|\
| * Fix grammar, formatting, and cross referencesJohn Firebaugh2011-03-281-8/+8
| |
* | use assert_equal so we get normal error messages along with our custom ↵Aaron Patterson2011-03-301-3/+3
| | | | | | | | failure message
* | Update the wildcard route to be non-greedy by default, therefore be able to ↵Prem Sichanugrist2011-03-291-1/+7
|/ | | | | | | | match the (.:format) segment [#6605 state:resolved] After some discussion with Andrew White, it seems like this is a better approach for handling a wildcard route. However, user can still bring back the old behavior by supplying `:format => false` to the route. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
* correction to the outputted controller name in the diagnostics error ↵Josh Kalderimis2011-03-241-1/+1
| | | | | | template, test included Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-03-231-0/+7
|\