aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
* added convenience methods #notice and #alert to flash.nowMartin2010-05-151-0/+10
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* fix assert_select messages to its declaration behaviourPaco Guzman2010-05-151-5/+11
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* corrected error message in session/cookie_store [#4546 state:resolved]Josh Kalderimis2010-05-101-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Use annoted source code in Template:Error to avoid special cases in the show ↵José Valim2010-05-091-8/+4
| | | | exceptions middleware.
* Fix parsing xml input by ActionDispatch::ParamsParserLawrence Pit2010-05-061-1/+1
| | | | | | [#4437 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* RouteSet does not raise ActionController::RoutingError when no routes match ↵Carl Lerche2010-04-302-6/+11
| | | | anymore. Instead, it follows the X-Cascade convention. ShowExceptions checks for X-Cascade so that the routing error page can still be displayed.
* Make ActionDispatch url_for use HWIA symbolize_keysSantiago Pastorino2010-04-221-1/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ensure that url_for uses symbolized keys in the controller. [#4391]J Smith2010-04-221-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Some require indifferent_access addedSantiago Pastorino2010-04-214-1/+5
| | | | Signed-off-by: Xavier Noria <fxn@ubuntu.(none)>
* require without .rbSantiago Pastorino2010-04-211-1/+1
| | | | Signed-off-by: Xavier Noria <fxn@ubuntu.(none)>
* Remove only formats in shortcuts and do it just once.José Valim2010-04-201-4/+5
|
* Missing require addedSantiago Pastorino2010-04-181-0/+1
|
* added shorthand support for routes like /projects/status(.:format)Diego Carrion2010-04-171-3/+3
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* access assigns as a method or hash, with strings or symbols [#4431 ↵David Chelimsky2010-04-171-2/+2
| | | | state:resolved]
* Missing requireswycats2010-04-161-0/+1
|
* add missing requires to Rescuable and RouteSet [#4415 state:committed]Mislav Marohnić2010-04-161-0/+1
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* action_dispatch/routing/deprecated_mapper needs with_optionsMatthew Rudy Jacobs2010-04-141-0/+1
| | | | | | [#4398 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix a bug in url generation for generic routes.José Valim2010-04-121-2/+9
|
* Ensure match path, :controller => name works as expected.José Valim2010-04-121-2/+4
|
* Make namespace work with options[:to] [#4351 state:committed]Santiago Pastorino2010-04-111-0/+8
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Revert "Revert "Use path_names, not resource_path_names, consistently""wycats2010-04-101-6/+6
| | | This reverts commit d3ec4b1ba6528a081f5124fd71cc026b1f8abe9c.
* Revert "Use path_names, not resource_path_names, consistently"José Valim2010-04-101-6/+6
| | | | | Breaks tests on Ruby 1.8.7. This reverts commit 13bbf98d85029fd4e3563ac46413c7b72625bc25.
* Use path_names, not resource_path_names, consistentlywycats2010-04-101-6/+6
|
* Dial back from 'namespace :controller => ...' to 'scope :module => ...'Jeremy Kemper2010-04-091-17/+5
|
* Routes can be selectively namespaced by path or controller moduleJeremy Kemper2010-04-091-2/+15
|
* Use request.body IO and rewind, if possibleJeremy Kemper2010-04-071-3/+6
|
* Remove #size call on rack input ioJoshua Peek2010-04-071-8/+4
|
* Use config.filter_parameters on in-browser request dump. [#4335 state:resolved]José Valim2010-04-071-1/+1
|
* Fix cookie access in integration tests with other host namesJoshua Peek2010-04-051-7/+21
|
* moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵Xavier Noria2010-04-051-1/+1
| | | | there, same for #class_eval to simplify, and adds coverage for class_eval
* Rename config.cookie_secret to config.secret_token and pass it as ↵José Valim2010-04-053-19/+21
| | | | configuration in request.env. This is another step forward removing global configuration.
* Merge commit 'docrails/master'Xavier Noria2010-04-041-1/+1
|\
| * Merge branch 'master' of github.com:lifo/docrailsAndrew White2010-04-044-30/+32
| |\
| * | Update various documentation examples to use new routing DSLAndrew White2010-04-041-1/+1
| | |
* | | Reapply redirect {|params, request| } with passing tests this timewycats2010-04-041-1/+5
| | |
* | | Revert "Pass in the request as an optional second parameter to redirect"Jeremy Kemper2010-04-041-1/+1
| | | | | | | | | | | | | | | | | | Was not tested. This reverts commit a8c3c71af161e7d4263ad489ca2f6601bc02a9bb.
* | | Fix signed cookies by explicitly passing config to the cookie jarJeremy Kemper2010-04-041-23/+19
| | |
* | | Pass in the request as an optional second parameter to redirectwycats2010-04-031-1/+1
| | |
* | | * Change the object used in routing constraints to be an instance ofwycats2010-04-034-31/+55
| |/ |/| | | | | | | | | | | | | | | | | | | 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
* | Merge commit 'rails/master'Xavier Noria2010-04-033-28/+30
|\ \
| * | Add a test which ensures action_dispatch.show_exceptions is properly disabled.José Valim2010-04-022-4/+2
| | |
| * | Raise exceptions instead of rendering error templates in test environment ↵Rolf Bjaanes2010-04-021-1/+2
| | | | | | | | | | | | | | | | | | [#4315 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * | Maintain the usage of :as consistent in the router. Whenever it's supplied, ↵José Valim2010-04-021-25/+28
| | | | | | | | | | | | it changes the NAMED ROUTE. If you want to change the PATH, use :path instead. Example: resources :projects, :path => 'projetos'
* | | Merge branch 'master' of git://github.com/rails/railsRizwan Reza2010-04-021-2/+2
|\| | | |/ |/|
| * Slightly less annoying check for acceptable mime_types. This allows Accept: ↵Paul Sadauskas2010-04-011-2/+2
| | | | | | | | application/json, application/jsonp (and the like), but still blacklists browsers. Essentially, we use normal content negotiation unless you include */* in your list, in which case we assume you're a browser and send HTML [#3541 state:resolved]
* | Merge commit 'rails/master'Xavier Noria2010-03-3116-36/+96
|\|
| * Deprecate cookie_verifier_secret in favor of config.cookie_secret allowing ↵José Valim2010-03-311-3/+3
| | | | | | | | signed cookies to work again.
| * Consistent routing languageJoshua Peek2010-03-301-10/+10
| |
| * Fix stack overflow bug in integration test router helpersJoshua Peek2010-03-301-1/+1
| |
| * Add more tests and docs to uncountable routes. [#3930 state:resolved]Rizwan Reza2010-03-281-1/+2
| |