aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
...
* Expose last controller in rack env["action_controller.instance"]Joshua Peek2010-01-201-32/+6
|
* Revert streaming params parser support.Joshua Peek2010-01-191-3/+3
| | | | | | | | | | AS Xml and Json parsers expect the request body to be a real IO object supporting methods like getc or ungetc which are not specified by the Rack spec and aren't supported by Passenger or the Rewindable input wrapper. We can restore functionality if the AS parsers are rewritten to support Racks subset of supported IO methods.
* Cleanup middleware introspection outputJoshua Peek2010-01-191-3/+1
|
* Disable ShowExceptions during integration testsJoshua Peek2010-01-191-1/+3
|
* Do not send rack.input or any other rack information to AD listeners.José Valim2010-01-192-8/+15
|
* Define named routes for other non-GET REST actionsJoshua Peek2010-01-191-4/+32
|
* Prettier hash dumpJoshua Peek2010-01-181-3/+7
|
* Show Rack env dump on exception pageJoshua Peek2010-01-181-1/+4
|
* Accessing nonexistant cookies through the signed jar should not raise anJoshua Peek2010-01-171-1/+3
| | | | exception
* Make local_request? to returns true when facing ::1 IPv6 address [#3257 ↵Prem Sichanugrist2010-01-171-2/+2
| | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix resources_path_names branch which was sending an array as entity. [#3715 ↵José Valim2010-01-171-34/+25
| | | | status:resolved]
* Move middleware builder back to Rails::Rack::Metal without losing the new ↵José Valim2010-01-171-29/+0
| | | | behavior.
* Add ActionDispatch::Railties::Subscriber and finish tidying up the logging.José Valim2010-01-172-0/+75
|
* Add ActionDispatch::Notifications middleware.José Valim2010-01-173-7/+26
|
* Use backtrace cleaner for dev mode exception pageJoshua Peek2010-01-163-7/+22
|
* Cookies middlewareJoshua Peek2010-01-162-1/+215
|
* Merge docrailsPratik Naik2010-01-172-11/+12
|
* Allow custom controller for resource(s) [#3703 state:resolved]Joshua Peek2010-01-161-1/+1
|
* Split ActionDispatch http in smaller chunks.José Valim2010-01-167-430/+480
|
* Fix singleton resource named routesJoshua Peek2010-01-151-2/+2
|
* Fix const reference for SessionRestoreErrorJoshua Peek2010-01-151-1/+1
|
* Always join scoped paths with slashesJoshua Peek2010-01-151-11/+17
|
* Cleanup internal resource macro to use method helper shorthandJoshua Peek2010-01-151-20/+14
|
* Routing method shorthand shouldn't clobber :to optionsJoshua Peek2010-01-151-2/+2
|
* Move Flash into middlewareJoshua Peek2010-01-152-4/+174
|
* Make HEAD method masquerade as GET so requests are routed correctlyJoshua Peek2010-01-152-5/+25
|
* Ensure log is flushed and tailed on failures.José Valim2010-01-151-4/+3
|
* Move Dispatcher setup to Railties and add instrumentation hook.José Valim2010-01-151-7/+10
|
* Respect resources_path_names and :path_names options in new dslJoshua Peek2010-01-132-44/+96
|
* Ensure optional path scopes are properly handled.José Valim2010-01-141-8/+12
|
* Add router support for resources :only and :except actionsJoshua Peek2010-01-131-16/+38
|
* Pass :as to resources to change the resource nameJoshua Peek2010-01-131-4/+5
|
* Passing in a crud action overloads the default action instead of creating aJoshua Peek2010-01-131-2/+9
| | | | new member action.
* Ensure nested namespaces work as expected.José Valim2010-01-101-7/+4
|
* Fixes namespaced routes [#3673 status:resolved]Joao Carlos2010-01-101-2/+10
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure that segments in default_url_options also work with format specified.José Valim2010-01-071-2/+2
|
* From now on, parameters defined in default_url_options can be absent from ↵José Valim2010-01-071-21/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | named routes. This allows the following setup to work: # app/controllers/application_controller.rb class ApplicationController def default_url_options(options=nil) { :locale => I18n.locale } end end # From your views and controllers: I18n.locale #=> :en users_url #=> "/en/users" users_url(:pl) #=> "/pl/users" user_url(1) #=> "/en/users/1" user_url(:pl, 1) #=> "/pl/users/1" user_url(1, :locale => :pl) #=> "/pl/users/1" If you provide all expected parameters, it still works as previously. But if any parameter is missing, it tries to assign all possible ones with the hash returned in default_url_options or the one passed straight to the named route method. Beware that default_url_options in ApplicationController is not shared with ActionMailer, so you are required to always give the locale in your email views.
* namespace in routes changes both the path and name prefix.José Valim2010-01-061-1/+1
|
* Allow named routes to be debugged.José Valim2010-01-061-23/+20
|
* Ruby 1.9.1 requires hash given to foormat to contain symbols.José Valim2010-01-061-1/+1
|
* Remove CGI.escape in function of Rack::Mount.escapeJosé Valim2010-01-061-1/+1
|
* redirect in routes takes port into account [#3653 status:resolved]José Valim2010-01-051-0/+1
|
* All router redirect helper to accept a full URI [#3653 state:resolved]Joshua Peek2010-01-051-5/+13
|
* assert_template depends on AV::Template monkey patches in action_view/test_caseJoshua Peek2010-01-051-0/+9
|
* Trash string coercion rack hacksJoshua Peek2010-01-041-29/+0
|
* Autoload AS test caseJoshua Peek2010-01-041-1/+0
|
* @_formats initialization should be AbstractController::Base.José Valim2010-01-041-1/+1
|
* Remove deprecated formatted named routesJosé Valim2010-01-041-8/+0
|
* Add notifications to ActionDispatch::ShowExceptions, this can be used as ↵José Valim2010-01-031-2/+22
| | | | hooks for plugins like ExceptionNotifier.
* fixed missing or incorrect session data error messageStefan Penner2010-01-021-1/+1
|