aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow namespace accept options in routes [#4936 state:resolved]Carlos Antonio da Silva2010-06-221-3/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Deprecate :name_prefix in the new router DSL.José Valim2010-06-221-20/+22
|
* Remove unused variable on assert_recognizes [#4912 state:resolved]Paco Guzman2010-06-221-1/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* removed 'unless const_defined?' code smellJosh Kalderimis2010-06-211-23/+19
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'rails/master'Xavier Noria2010-06-205-165/+293
|\ | | | | | | | | Conflicts: actionpack/lib/abstract_controller/base.rb
| * Use the new ActiveSupport::FileUpdateChecker instead of RoutesReloader.José Valim2010-06-201-1/+1
| |
| * Use Rack::Utils.bytesize when calculating content-length of exception pages. ↵Tarsoly András2010-06-201-1/+1
| | | | | | | | | | | | [#4727 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * remove executable permission from files that don't need it. [#4802 ↵rohit2010-06-201-0/+0
| | | | | | | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Don't use module to work out shallow name prefix and path as it may not ↵Andrew White2010-06-201-9/+17
| | | | | | | | | | | | accurately reflect the actual namespace [#4899 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Accept an object for :constraints option [#4904 state:resolved]Andrew White2010-06-201-1/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Merge branch 'master' of github.com:rails/railsJosé Valim2010-06-201-7/+36
| |\
| | * Custom resource routes should be scopedAndrew White2010-06-191-7/+36
| | | | | | | | | | | | | | | | | | [#3765] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | Clear DescendantsTracker on each request.José Valim2010-06-191-4/+4
| |/
| * fix for :shallow in router not generating helpers for create, update, and ↵Josh Kalderimis2010-06-181-4/+3
| | | | | | | | | | | | | | | | destroy actions when :only or :except are used [#4900 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Add shallow routing option to new router [#3765 status:committed]Andrew White2010-06-171-156/+248
| | | | | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* | Take out documentation from DeprecatedMapper to discourage its usage.Rizwan Reza2010-06-211-384/+0
| |
* | Use h1 for titles.Rizwan Reza2010-06-211-1/+1
| |
* | Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-156-8/+8
|\ \ | |/ |/|
| * Fix a bunch of minor spelling mistakesEvgeniy Dolzhenko2010-06-116-8/+8
| |
* | Refactored duplication into a separate method. Dropped class variable.Rizwan Reza2010-06-111-15/+17
| |
* | Adding missing docs to delete cookies with :all which were added that way.Rizwan Reza2010-06-111-1/+2
| |
* | Took out the domain option logic to cookies.rb.Rizwan Reza2010-06-113-22/+32
| |
* | Moved Domain regexp to a constant and added comments.Rizwan Reza2010-06-111-1/+8
| |
* | The previous commit didn't work with complex domains, which is now fixed.Rizwan Reza2010-06-111-4/+4
| |
* | Add support for multi-subdomain session by setting cookie host in session ↵Rizwan Reza2010-06-112-1/+14
|/ | | | | | cookie so you can share session between www.example.com, example.com and user.example.com. [#4818 state:resolved] This reverts commit 330a89072a493aafef1e07c3558964477f85adf0.
* Revert "Add support for multi-subdomain session by setting cookie host in ↵José Valim2010-06-102-14/+1
| | | | | | | | session cookie so you can share session between www.example.com, example.com and user.example.com. [#4818 state:resolved]" It does not work for domains like co.uk and com.br. This reverts commit c4d6245e875bbb276c122a5a401422d341dac4df.
* Add support for multi-subdomain session by setting cookie host in session ↵Guillermo Álvarez2010-06-102-1/+14
| | | | | | cookie so you can share session between www.example.com, example.com and user.example.com. [#4818 state:resolved] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Ensure show exceptions middleware properly filters backtrace before logging.José Valim2010-06-091-1/+1
|
* Add more cases to previous commit [#4394 state:resolved]José Valim2010-06-081-1/+1
|
* Make sure namespaces are nested within resourcesJan De Poorter2010-06-081-0/+8
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Revert "Add shallow routes to the new router" for now. Needs more work.David Heinemeier Hansson2010-06-081-26/+3
| | | | This reverts commit 67a60ee314f53abcde78f8ecd2a1f7c9ef8264e1.
* Accept both regexps and strings for LOCALHOST.José Valim2010-06-081-2/+2
|
* Make sure that rails recognized the full notation of IPv6 loopback address, ↵Prem Sichanugrist2010-06-081-2/+2
| | | | | | and recognize 127.0.0.0/8 in IPv4 Signed-off-by: José Valim <jose.valim@gmail.com>
* 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.