aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Expect Rack 1.1Joshua Peek2009-12-261-1/+1
|
* Fix testsDavid Heinemeier Hansson2009-12-251-2/+2
|
* MergeDavid Heinemeier Hansson2009-12-242-3/+12
|\
| * Allow named_routes to be used with root, and with new DSL short-form.Sam Ruby2009-12-231-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | The real use case it to make all of the following act the same: root 'store#index', :as => 'store' match '/' => 'store#index', :as => 'store' match '/', :to => 'store#index', :as => 'store' The test case provided deviates from this in order to demonstrate all three forms in a single set of test routes. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Routing: fix that route shorthand shouldn't ignore other options. Raise if ↵Jeremy Kemper2009-12-231-2/+4
| | | | | | | | :as option is given to root method since its name is always 'root'
| * Fix bare string Rack response bodiesJeremy Kemper2009-12-231-2/+2
| |
* | Extract Mapping class from monster match methodDavid Heinemeier Hansson2009-12-241-1/+12
|/
* AD::StatusCodes support is now part of rackJoshua Peek2009-12-221-2/+2
|
* Add test for rootDavid Heinemeier Hansson2009-12-211-0/+9
|
* Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2009-12-211-12/+12
|\
| * reset_session needs to be a real method so flash can override itJoshua Peek2009-12-211-12/+12
| |
* | Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2009-12-216-8/+39
|\|
| * Its now possible to use match 'stuff' => 'what#stuff' instead of using the ↵David Heinemeier Hansson2009-12-201-3/+13
| | | | | | | | :to for simple routes
| * Rename the RenderingController module to just plain RenderingDavid Heinemeier Hansson2009-12-205-5/+5
| |
| * :to => redirect() can take a String using 1.9-style interpolation or proc ↵Yehuda Katz2009-12-201-0/+21
| | | | | | | | that takes the path parameters as a Hash
* | Added cookies.permanent, cookies.signed, and cookies.permanent.signed ↵David Heinemeier Hansson2009-12-201-0/+35
|/ | | | accessor for common cookie actions [DHH]
* Pending tests for AD ResponseJoshua Peek2009-12-171-0/+113
|
* Don't need response prepare!Joshua Peek2009-12-171-8/+0
|
* Added alert/notice from 2-3-stable and refactored redirect_to into just ↵David Heinemeier Hansson2009-12-171-1/+28
| | | | living in Redirector [DHH]
* Fully expand relative rails framework paths and make sure we aren'tJoshua Peek2009-12-161-8/+7
| | | | adding any to the load path more than once.
* Move route reloading into railtiesJoshua Peek2009-12-141-13/+0
|
* Remove route loading tests since it should be tested by railtiesJoshua Peek2009-12-141-72/+0
|
* Hush loading AR unless it failsJoshua Peek2009-12-141-6/+2
|
* TestProcess belongs in ADJoshua Peek2009-12-122-5/+5
|
* "new" and "edit" name routes always need to be prepend to theJoshua Peek2009-12-111-0/+14
| | | | named_route [#3561 state:resolved]
* Remove fancy method not allowed resource exceptions since they areJoshua Peek2009-12-112-10/+7
| | | | too much of a hack
* Kill RouteSet#recognizeJoshua Peek2009-12-101-126/+68
|
* Merge branch 'master' of github.com:rails/railsYehuda Katz2009-12-1018-121/+112
|\
| * Check block arity passed to routes draw so you don't need to useJoshua Peek2009-12-091-1/+1
| | | | | | | | |map|
| * Simpler RenderOption API -- removes the need for registering the types and ↵Carlhuda2009-12-091-0/+14
| | | | | | | | extending a module
| * More test portingJoshua Peek2009-12-083-10/+9
| |
| * Tack format onto resource routesJoshua Peek2009-12-081-3/+15
| |
| * Use new routing dsl in testsJoshua Peek2009-12-0815-67/+56
| |
| * Fix ambiguous access_token scoping exampleJoshua Peek2009-12-081-5/+5
| |
| * Routes added under resource collection should be prefixed withJoshua Peek2009-12-081-13/+4
| | | | | | | | resource collection name
| * Fixed named prefix scope in resource member and collection actionsJoshua Peek2009-12-071-16/+6
| |
| * named_prefix doesn't join with "_"Joshua Peek2009-12-071-1/+1
| |
| * Allow name_prefix to be pass into scopeJoshua Peek2009-12-071-8/+4
| |
| * Allow scope to take :path and :controller optionsJoshua Peek2009-12-071-1/+1
| |
* | Responder redirects to resource if destroy fails.José Valim2009-12-071-8/+34
|/ | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Deprecate recalling generation params when the defaults are nilJoshua Peek2009-12-061-3/+1
|
* Update rackmount to fix some pending testsJoshua Peek2009-12-051-13/+9
|
* Reorganize autoloads:Carlhuda2009-12-025-20/+20
| | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications.
* Stop escaping "[]" in query stringJoshua Peek2009-12-021-3/+3
|
* Ensure Cache-Control max-age is an integerJeremy Kemper2009-12-021-1/+1
|
* Fix parens warning in ajax testJoshua Peek2009-12-011-6/+6
|
* Make recognize try to constantize controller to see if it existsJoshua Peek2009-12-012-3/+12
|
* Merge branch 'master' of github.com:rails/railsJoshua Peek2009-12-012-0/+18
|\
| * Fix caching test to ensure notifications are all deliveredJeremy Kemper2009-12-011-0/+1
| |
| * Allow ActionController::Responder to have a common entry point for all formats.José Valim2009-12-011-0/+17
| | | | | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>