aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
* Fix resources ignoring scope optionsAndrew White2010-06-081-0/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add support for actions on a new resource to the new routing DSL [#4328 ↵Andrew White2010-06-081-27/+70
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Add shallow routes to the new router [Closes #3765]Diego Carrion2010-06-071-3/+26
|
* regular expressions are usually ASCII-encoded, so force_encoding the content ↵wycats2010-06-071-2/+0
| | | | of a Node to the encoding of the regular expression is wrong.
* Make named helpers unprotected without becoming actions [#4696 state:resolved]wycats2010-06-071-1/+4
|
* member on resource should not expect an ID.José Valim2010-06-071-3/+1
|
* Router accepts member routes on resource. [#4624 state:resolved]Rizwan Reza2010-06-061-5/+14
|
* Simplify middleware stack lazy compares using named const referencesJeremy Kemper2010-06-051-13/+5
|
* Restore flash sweepJeremy Kemper2010-06-051-1/+1
|
* Optimize LookupContextwycats2010-06-041-3/+10
|
* No need to unescape params twice if we came from Rack::Mountwycats2010-06-041-7/+7
|
* Stop the flash middleware from forcibly loading sessions even if the user ↵wycats2010-06-042-6/+6
| | | | doesn't use sessions at all
* Improve performance of commonly used request methodswycats2010-06-041-7/+19
|
* Include backtrace in failsafe log. Rescue possible exceptions in failsafe ↵Jeremy Kemper2010-06-042-2/+2
| | | | response.
* Add :only and :except to controllers MiddlewareStack. This allowsJosé Valim2010-05-301-4/+4
| | | | | | | | you to do the following: class PostsController < ApplicationController use AutheMiddleware, :except => [:index, :show] end
* Remove the laziness from the middleware stack.José Valim2010-05-291-57/+15
|
* Removing Metal from Rails 3. wycats2010-05-291-29/+0
| | | | | | | | | | | | | | | | | | | | If you have existing Metals, you have a few options: * if your metal behaves like a middleware, add it to the middleware stack via config.middleware.use. You can use methods on the middleware stack to control exactly where it should go * if it behaves like a Rack endpoint, you can link to it in the router. This will result in more optimal routing time, and allows you to remove code in your endpoint that matches specific URLs in favor of the more powerful handling in the router itself. For the future, you can use ActionController::Metal to get a very fast controller with the ability to opt-in to specific controller features without paying the penalty of the full controller stack. Since Rails 3 is closer to Rack, the Metal abstraction is no longer needed.
* Avoid creating a Rack::Response object in the cookie middleware since it may ↵José Valim2010-05-181-9/+13
| | | | stream the body.
* Cut the fat and make session stores rely on request.cookie_jar and change ↵José Valim2010-05-183-130/+55
| | | | set_session semantics to return the cookie value instead of a boolean.
* Remove deprecated methods since 2-3-stable.José Valim2010-05-181-34/+6
|
* Kill legacy dispatcher.José Valim2010-05-181-2/+0
|
* Simplify cookie_store by simply relying on cookies.signed.José Valim2010-05-182-94/+45
|
* Rely on set and delete cookie logic from rack.José Valim2010-05-181-33/+2
|
* Allow root to be given in the resources scope without need to specify :on => ↵José Valim2010-05-171-0/+5
| | | | collection.
* 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
|