aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * Add _index to named collection routes for uncountable resources (e.g. Sheep)Jan De Poorter2010-03-281-1/+5
| | | | | | | | Signed-off-by: Rizwan Reza <rizwanreza@gmail.com>
| * Request#content_type exists in Rack::Request, and other parts of ↵wycats2010-03-283-7/+13
| | | | | | | | | | | | Rack::Request expect it to return a String. Split the Rails API so that Request#content_type returns a String, and Request#content_mime_type returns a Mime::Type object.
| * Add constraints to resources in new routing DSLAndrew White2010-03-281-14/+47
| | | | | | | | Signed-off-by: Rizwan Reza <rizwanreza@gmail.com>
| * Merge remote branch 'rizwan/restrict'wycats2010-03-2810-0/+14
| |\
| | * adds missing requires for Object#blank? and Object#present?Xavier Noria2010-03-289-0/+13
| | |
| | * adds missing requires for Object#duplicable?Xavier Noria2010-03-281-0/+1
| | |
| * | Rails 3 application can run performance tests now. [#4171 state:resolved]Rizwan Reza2010-03-281-1/+3
| |/
* | ActionController::Resources has gone awayAndrew White2010-03-311-2/+1
| |
* | Remove routing implementation details from RDocAndrew White2010-03-313-12/+12
| |
* | Update routing documentation to the new way of specifying HTTP method ↵Andrew White2010-03-311-9/+21
| | | | | | | | restrictions
* | Mark ActionDispatch::Routing::DeprecatedMapper as nodoc to hide old ↵Andrew White2010-03-311-1/+1
|/ | | | documentation until it's removed
* Fix a mistake in the documentation (ht: Evgeniy Dolzhenko) [#4217 ↵wycats2010-03-271-1/+1
| | | | state:resolved]
* Fix named routes for member actions of singleton resources [#4266 ↵Andrew White2010-03-271-1/+1
| | | | | state:resolved] Signed-off-by: wycats <wycats@gmail.com>
* Add parameter defaults support to new routing DSL [#4265 state:resolved]Andrew White2010-03-271-1/+19
| | | Signed-off-by: wycats <wycats@gmail.com>
* Make X-Sendfile default to "" so it works correctly in dev mode.wycats2010-03-261-1/+1
| | | | | Provide a default in production.rb that can be modified, so that people who care about sendfile performance in production mode can get better performance easily.
* Merge branch 'master' into docrailswycats2010-03-2610-116/+66
|\
| * Move application configuration to the application configuration object, ↵José Valim2010-03-261-2/+1
| | | | | | | | remove railtie_name and engine_name and allow to set the configuration object.
| * Rails router automatically calculated for you the controller and named ↵José Valim2010-03-261-5/+3
| | | | | | | | | | | | | | | | | | routes in the following scenarios: match "home/about" #=> maps to home#about with named route home_about_path match "about" #=> does not work because it cannot guess the controller match "about" => "home#about" #=> maps to home#about with named route home_about_path match "home/about", :as => "about" #=> maps to home#about with named route about_path
| * Protect routes again so they don't end up as actions. We need a better ↵wycats2010-03-231-0/+1
| | | | | | | | solution than this.
| * open_session can just return the a dup of the current context.wycats2010-03-221-24/+3
| | | | | | | | | | At this point, its entire purpose in the open_session {} case was to delegate back to the IntegrationTest anyway.
| * Make router shortcuts more polite to URLs starting with a leading slash.José Valim2010-03-221-15/+17
| |