Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid creating a Rack::Response object in the cookie middleware since it may ↵ | José Valim | 2010-05-18 | 1 | -9/+13 |
| | | | | stream the body. | ||||
* | Cut the fat and make session stores rely on request.cookie_jar and change ↵ | José Valim | 2010-05-18 | 3 | -130/+55 |
| | | | | set_session semantics to return the cookie value instead of a boolean. | ||||
* | Remove deprecated methods since 2-3-stable. | José Valim | 2010-05-18 | 1 | -34/+6 |
| | |||||
* | Kill legacy dispatcher. | José Valim | 2010-05-18 | 1 | -2/+0 |
| | |||||
* | Simplify cookie_store by simply relying on cookies.signed. | José Valim | 2010-05-18 | 2 | -94/+45 |
| | |||||
* | Rely on set and delete cookie logic from rack. | José Valim | 2010-05-18 | 1 | -33/+2 |
| | |||||
* | Allow root to be given in the resources scope without need to specify :on => ↵ | José Valim | 2010-05-17 | 1 | -0/+5 |
| | | | | collection. | ||||
* | added convenience methods #notice and #alert to flash.now | Martin | 2010-05-15 | 1 | -0/+10 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | fix assert_select messages to its declaration behaviour | Paco Guzman | 2010-05-15 | 1 | -5/+11 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | corrected error message in session/cookie_store [#4546 state:resolved] | Josh Kalderimis | 2010-05-10 | 1 | -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é Valim | 2010-05-09 | 1 | -8/+4 |
| | | | | exceptions middleware. | ||||
* | Fix parsing xml input by ActionDispatch::ParamsParser | Lawrence Pit | 2010-05-06 | 1 | -1/+1 |
| | | | | | | [#4437 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | RouteSet does not raise ActionController::RoutingError when no routes match ↵ | Carl Lerche | 2010-04-30 | 2 | -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_keys | Santiago Pastorino | 2010-04-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ensure that url_for uses symbolized keys in the controller. [#4391] | J Smith | 2010-04-22 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Some require indifferent_access added | Santiago Pastorino | 2010-04-21 | 4 | -1/+5 |
| | | | | Signed-off-by: Xavier Noria <fxn@ubuntu.(none)> | ||||
* | require without .rb | Santiago Pastorino | 2010-04-21 | 1 | -1/+1 |
| | | | | Signed-off-by: Xavier Noria <fxn@ubuntu.(none)> | ||||
* | Remove only formats in shortcuts and do it just once. | José Valim | 2010-04-20 | 1 | -4/+5 |
| | |||||
* | Missing require added | Santiago Pastorino | 2010-04-18 | 1 | -0/+1 |
| | |||||
* | added shorthand support for routes like /projects/status(.:format) | Diego Carrion | 2010-04-17 | 1 | -3/+3 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | access assigns as a method or hash, with strings or symbols [#4431 ↵ | David Chelimsky | 2010-04-17 | 1 | -2/+2 |
| | | | | state:resolved] | ||||
* | Missing requires | wycats | 2010-04-16 | 1 | -0/+1 |
| | |||||
* | add missing requires to Rescuable and RouteSet [#4415 state:committed] | Mislav Marohnić | 2010-04-16 | 1 | -0/+1 |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | action_dispatch/routing/deprecated_mapper needs with_options | Matthew Rudy Jacobs | 2010-04-14 | 1 | -0/+1 |
| | | | | | | [#4398 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix a bug in url generation for generic routes. | José Valim | 2010-04-12 | 1 | -2/+9 |
| | |||||
* | Ensure match path, :controller => name works as expected. | José Valim | 2010-04-12 | 1 | -2/+4 |
| | |||||
* | Make namespace work with options[:to] [#4351 state:committed] | Santiago Pastorino | 2010-04-11 | 1 | -0/+8 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Revert "Revert "Use path_names, not resource_path_names, consistently"" | wycats | 2010-04-10 | 1 | -6/+6 |
| | | | This reverts commit d3ec4b1ba6528a081f5124fd71cc026b1f8abe9c. | ||||
* | Revert "Use path_names, not resource_path_names, consistently" | José Valim | 2010-04-10 | 1 | -6/+6 |
| | | | | | Breaks tests on Ruby 1.8.7. This reverts commit 13bbf98d85029fd4e3563ac46413c7b72625bc25. | ||||
* | Use path_names, not resource_path_names, consistently | wycats | 2010-04-10 | 1 | -6/+6 |
| | |||||
* | Dial back from 'namespace :controller => ...' to 'scope :module => ...' | Jeremy Kemper | 2010-04-09 | 1 | -17/+5 |
| | |||||
* | Routes can be selectively namespaced by path or controller module | Jeremy Kemper | 2010-04-09 | 1 | -2/+15 |
| | |||||
* | Use request.body IO and rewind, if possible | Jeremy Kemper | 2010-04-07 | 1 | -3/+6 |
| | |||||
* | Remove #size call on rack input io | Joshua Peek | 2010-04-07 | 1 | -8/+4 |
| | |||||
* | Use config.filter_parameters on in-browser request dump. [#4335 state:resolved] | José Valim | 2010-04-07 | 1 | -1/+1 |
| | |||||
* | Fix cookie access in integration tests with other host names | Joshua Peek | 2010-04-05 | 1 | -7/+21 |
| | |||||
* | moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵ | Xavier Noria | 2010-04-05 | 1 | -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é Valim | 2010-04-05 | 3 | -19/+21 |
| | | | | configuration in request.env. This is another step forward removing global configuration. | ||||
* | Merge commit 'docrails/master' | Xavier Noria | 2010-04-04 | 1 | -1/+1 |
|\ | |||||
| * | Merge branch 'master' of github.com:lifo/docrails | Andrew White | 2010-04-04 | 4 | -30/+32 |
| |\ | |||||
| * | | Update various documentation examples to use new routing DSL | Andrew White | 2010-04-04 | 1 | -1/+1 |
| | | | |||||
* | | | Reapply redirect {|params, request| } with passing tests this time | wycats | 2010-04-04 | 1 | -1/+5 |
| | | | |||||
* | | | Revert "Pass in the request as an optional second parameter to redirect" | Jeremy Kemper | 2010-04-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Was not tested. This reverts commit a8c3c71af161e7d4263ad489ca2f6601bc02a9bb. | ||||
* | | | Fix signed cookies by explicitly passing config to the cookie jar | Jeremy Kemper | 2010-04-04 | 1 | -23/+19 |
| | | | |||||
* | | | Pass in the request as an optional second parameter to redirect | wycats | 2010-04-03 | 1 | -1/+1 |
| | | | |||||
* | | | * Change the object used in routing constraints to be an instance of | wycats | 2010-04-03 | 4 | -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 Noria | 2010-04-03 | 3 | -28/+30 |
|\ \ | |||||
| * | | Add a test which ensures action_dispatch.show_exceptions is properly disabled. | José Valim | 2010-04-02 | 2 | -4/+2 |
| | | | |||||
| * | | Raise exceptions instead of rendering error templates in test environment ↵ | Rolf Bjaanes | 2010-04-02 | 1 | -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é Valim | 2010-04-02 | 1 | -25/+28 |
| | | | | | | | | | | | | it changes the NAMED ROUTE. If you want to change the PATH, use :path instead. Example: resources :projects, :path => 'projetos' |