aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
* If IntegrationSession is initialized with an objects that responds to ↵Carlhuda2010-02-262-8/+21
| | | | #routes, automatically extend the URL helpers from the RouteSet onto it
* Setting UrlFor in with_routing is no longer needed now that it's not globalCarlhuda2010-02-261-3/+0
|
* Remove traces of SharedTestRoutes from user code; leave it as a standin for ↵Carlhuda2010-02-261-12/+0
| | | | Rails.application.routes in Rails internal tests
* Change the API for setting global options for #url_for to self.url_options = ↵Carlhuda2010-02-262-12/+24
| | | | | | { ... } This attr_accessor can be set in a before filter or in the action itself. Overwriting default_url_options still works but will output a deprecation notice.
* Remove the :use_defaults check in UrlFor#merge optionsCarlhuda2010-02-261-1/+1
|
* Rename named_url_helpers to url_helpers and url_helpers to url_forCarlhuda2010-02-262-9/+8
|
* Rename metaclass to singleton_classCarlhuda2010-02-251-1/+1
|
* Get URL helpers working again in integration tests.Carlhuda2010-02-251-24/+24
|
* Final pass at removing the router from a global constantCarlhuda2010-02-254-9/+1
|
* Continued effort to deglobalize the routerCarlhuda2010-02-252-42/+12
|
* WIP: Remove the global routerCarlhuda2010-02-256-18/+219
|
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-251-2/+2
|
* Remove ActionController::Base.resources_path_namesCarl Lerche2010-02-241-7/+8
|
* Makes send_file work again by deferring to Rack::Sendfile. Carlhuda2010-02-231-0/+2
| | | | | | | | | | * Add the Rack::Sendfile middleware * Make the header to use configurable via config.action_dispatch.x_sendfile_header (default to "X-Sendfile"). * Add Railties tests to confirm that these work * Remove the :stream, :buffer_size, and :x_senfile default options to send_file * Change the log subscriber to always say "Sent file" * Add deprecation warnings for options that are now no-ops Note that servers can configure this by setting X-Sendfile-Type. Hosting companies and those creating packages of servers specially designed for Rails applications are encouraged to specify this header so that this can work transparently.
* Make AD::Response correctly handle bodies that respond_to?(:to_path) as per ↵Carlhuda2010-02-231-0/+12
| | | | the Rack spec
* Use ActionDispatch::Routing everywhereMartin Schürrer2010-02-214-13/+19
|
* Store compiled parameter filters so we don't have to compile them in each ↵José Valim2010-02-211-25/+40
| | | | request.
* Fix a bunch of pending tests by providing an introspection mode for the ↵Carlhuda2010-02-193-19/+41
| | | | Response object that does up-front parsing of the headers to populate things like @etag
* Revert behavior from a5684dfa3c16472bfa5d5d861ba78cb6dbadcb59 and ensure ↵José Valim2010-02-191-1/+1
| | | | after_initializer is executed after to_prepare callbacks.
* Rename router internal option :namespace to :controller_namespace which is ↵José Valim2010-02-171-3/+3
| | | | its real purpose.
* Merge master.José Valim2010-02-171-1/+1
|\
| * rack-mount 0.5 supportJoshua Peek2010-02-151-1/+1
| |
* | Make Railties tests green again.José Valim2010-02-171-7/+12
| |
* | AD::TestProcess relies on request.flash, so let's load it.José Valim2010-02-161-0/+2
| |
* | Should allow symbols in :only and :except in routes.José Valim2010-02-161-5/+5
| |
* | Do not swallow controller loading errors unless required.José Valim2010-02-161-10/+4
|/
* Routes should not swallow all NameErrors [#3862 status:resolved].José Valim2010-02-061-1/+2
|
* Routing Mapper with % interpolation on Ruby 1.9.1 fixed [#3837 status:resolved]Santiago Pastorino and José Ignacio Costa2010-02-021-2/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make rdoc match current APISam Ruby2010-02-021-105/+47
| | | | Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
* Deprecation notice for TestResponse#redirected_toJoshua Peek2010-01-301-0/+5
|
* Ensure root routes inside optional scopes works as expected.José Valim2010-01-261-2/+3
|
* As first step setup the load path and lazy compare middlewares.José Valim2010-01-251-1/+13
|
* Ensure metals and initializers in plugins are loaded.José Valim2010-01-241-3/+0
|
* Rename plugin_name to railtie_name and engine_name.José Valim2010-01-241-1/+1
|
* Ensure namespaced controllers in engines work.José Valim2010-01-241-21/+7
|
* Solve some pendencies.José Valim2010-01-241-1/+1
|
* Extract routes reloading responsibilities from application and load them ↵José Valim2010-01-232-13/+5
| | | | just upon a request.
* Make filter parameters based on request, so they can be modified for ↵José Valim2010-01-211-62/+66
| | | | anything in the middleware stack.
* Default to sync instrumentation.José Valim2010-01-213-52/+0
|
* Tidy up new filter_parameters implementation.José Valim2010-01-213-89/+95
|
* Move filter_parameter_logging logic out of the controller and create ↵Prem Sichanugrist2010-01-214-24/+90
| | | | | | ActionDispatch::ParametersFilter to handle parameter filteration instead. This will make filteration not depending on controller anymore. Signed-off-by: José Valim <jose.valim@gmail.com>
* Add AD::Route#to_sSam Ruby2010-01-201-0/+6
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Only send filtered_env for notificationsJoshua Peek2010-01-201-8/+9
|
* Request#filter_parameters and filter_envJoshua Peek2010-01-201-2/+24
|
* 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
|