Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve performance of commonly used request methods | wycats | 2010-06-04 | 1 | -7/+19 |
| | |||||
* | Include backtrace in failsafe log. Rescue possible exceptions in failsafe ↵ | Jeremy Kemper | 2010-06-04 | 2 | -2/+2 |
| | | | | response. | ||||
* | Add :only and :except to controllers MiddlewareStack. This allows | José Valim | 2010-05-30 | 1 | -4/+4 |
| | | | | | | | | you to do the following: class PostsController < ApplicationController use AutheMiddleware, :except => [:index, :show] end | ||||
* | Remove the laziness from the middleware stack. | José Valim | 2010-05-29 | 1 | -57/+15 |
| | |||||
* | Removing Metal from Rails 3. | wycats | 2010-05-29 | 1 | -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é 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 |
| | | |