Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Simplify the action endpoint: | Carlhuda | 2010-03-08 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | * Remove ActionEndpoint in favor of passing a block to MiddlewareStack * Always create a Request; the performance win of RackDelegation is around the response; the Request object hit is limited to a single object allocation * #dispatch takes a Request | |||||
| * | Add memoizing to AD::Request | Carlhuda | 2010-03-08 | 1 | -0/+8 | |
| | | ||||||
| * | Require 'active_support/core_ext/hash/except' in the router. | Carl Lerche | 2010-03-08 | 1 | -0/+2 | |
| | | ||||||
| * | Whoops. We meant to switch from returning to tap, not vice versa | Carlhuda | 2010-03-08 | 1 | -1/+1 | |
| | | ||||||
| * | Add support for mount RackApp, :at => "/sprockets" with a shorthand of mount ↵ | Carlhuda | 2010-03-08 | 3 | -10/+25 | |
| | | | | | | | | | | | | | | | | | | | | Sprockets => "/sprockets". This is different from the match syntax in that it cannot be used for controller/action and it does not assume an anchor at the end of the match. For instance, in the above example, if the client asked for "/sprockets/foo.js", the Sprockets app would have a SCRIPT_NAME of "/sprockets" and PATH_INFO of "/foo.js". | |||||
| * | Make sure nested singular resources get the correct name | Jan De Poorter | 2010-03-07 | 1 | -1/+4 | |
| | | | | | | | | | | | | [#3911 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
| * | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 4 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook | |||||
| * | Tweak default_url_options deprecation warning | Jeremy Kemper | 2010-03-05 | 1 | -2/+2 | |
| | | ||||||
| * | Remove the ability to set the mountpoint when initializing a route set. | Carl Lerche | 2010-03-04 | 1 | -4/+3 | |
| | | ||||||
| * | Tweak out url_for uses :script_name and add some tests | Carl Lerche | 2010-03-04 | 2 | -10/+11 | |
| | | ||||||
| * | Have ActionDispatch::Routing::RouteSet.new ready to receive routes as is. | Carl Lerche | 2010-03-04 | 1 | -0/+1 | |
| | | ||||||
| * | Get rid of relative_url_path in favor of respecting SCRIPT_NAME. Also added ↵ | Carlhuda | 2010-03-04 | 2 | -2/+9 | |
| | | | | | | | | a way to specify a default SCRIPT_NAME when generating URLs out of the context of a request. | |||||
| * | Deprecated ActionController::Base.session_options= and ↵ | Carlhuda | 2010-03-04 | 2 | -9/+5 | |
| | | | | | | | | ActionController::Base.session_store= in favor of a config.session_store method (which takes params) and a config.cookie_secret variable, which is used in various secret scenarios. The old AC::Base options will continue to work with deprecation warnings. | |||||
| * | Move session and session_store onto ActionDispatch and add deprecation warnings | Carlhuda | 2010-03-04 | 1 | -0/+2 | |
| | | ||||||
| * | Add caller to request_uri deprecation notice | Carlhuda | 2010-03-03 | 1 | -1/+1 | |
| | | ||||||
| * | Move remote_ip to a middleware: | Carlhuda | 2010-03-03 | 4 | -55/+53 | |
| | | | | | | | | | | * ActionController::Base.ip_spoofing_check deprecated => config.action_dispatch.ip_spoofing_check * ActionController::Base.trusted_proxies deprecated => config.action_dispatch.trusted_proxies | |||||
| * | Add a BlockUntrustedIps middleware | Carl Lerche | 2010-03-03 | 1 | -0/+25 | |
| | | ||||||
| * | ActionDispatch::Request deprecates #request_uri | Carl Lerche | 2010-03-03 | 1 | -10/+3 | |
| | | | | | | | | * Refactored ActionPatch to use fullpath instead | |||||
| * | Rack::Request actually defines #query_string | Carl Lerche | 2010-03-03 | 1 | -5/+0 | |
| | | ||||||
| * | Tweak the semantic of various URL related methods of ActionDispatch::Request | Carlhuda | 2010-03-03 | 1 | -25/+6 | |
| | | ||||||
| * | No longer add missing leading / on path args to assert_redirected_to. ↵ | Jeremy Kemper | 2010-03-02 | 1 | -9/+14 | |
| | | | | | | | | Deprecated in 2.3.6. | |||||
| * | Request#subdomain returns a string version of Request#subdomains | Joshua Peek | 2010-02-28 | 1 | -0/+4 | |
| | | ||||||
| * | Remove implicit controller namespacing from new dsl | Joshua Peek | 2010-02-28 | 3 | -23/+27 | |
| | | ||||||
| * | The instance_reader of default_url_options needs to not exist. | Yehuda Katz | 2010-02-27 | 1 | -0/+1 | |
| | | ||||||
| * | Remind us that RoutingAssertions should work in an integration context | Yehuda Katz | 2010-02-26 | 1 | -0/+1 | |
| | | ||||||
| * | Set the body using the accessor for AD::Response introspection mode so it ↵ | Carlhuda | 2010-02-26 | 1 | -1/+2 | |
| | | | | | | | | gets wrapped in a [] | |||||
| * | If IntegrationSession is initialized with an objects that responds to ↵ | Carlhuda | 2010-02-26 | 2 | -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 global | Carlhuda | 2010-02-26 | 1 | -3/+0 | |
| | | ||||||
| * | Remove traces of SharedTestRoutes from user code; leave it as a standin for ↵ | Carlhuda | 2010-02-26 | 1 | -12/+0 | |
| | | | | | | | | Rails.application.routes in Rails internal tests | |||||
| * | Change the API for setting global options for #url_for to self.url_options = ↵ | Carlhuda | 2010-02-26 | 2 | -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 options | Carlhuda | 2010-02-26 | 1 | -1/+1 | |
| | | ||||||
| * | Rename named_url_helpers to url_helpers and url_helpers to url_for | Carlhuda | 2010-02-26 | 2 | -9/+8 | |
| | | ||||||
| * | Rename metaclass to singleton_class | Carlhuda | 2010-02-25 | 1 | -1/+1 | |
| | | ||||||
| * | Get URL helpers working again in integration tests. | Carlhuda | 2010-02-25 | 1 | -24/+24 | |
| | | ||||||
| * | Final pass at removing the router from a global constant | Carlhuda | 2010-02-25 | 4 | -9/+1 | |
| | | ||||||
| * | Continued effort to deglobalize the router | Carlhuda | 2010-02-25 | 2 | -42/+12 | |
| | | ||||||
| * | WIP: Remove the global router | Carlhuda | 2010-02-25 | 6 | -18/+219 | |
| | | ||||||
| * | Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice. | Jeremy Kemper | 2010-02-25 | 1 | -2/+2 | |
| | | ||||||
| * | Remove ActionController::Base.resources_path_names | Carl Lerche | 2010-02-24 | 1 | -7/+8 | |
| | | ||||||
| * | Makes send_file work again by deferring to Rack::Sendfile. | Carlhuda | 2010-02-23 | 1 | -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 ↵ | Carlhuda | 2010-02-23 | 1 | -0/+12 | |
| | | | | | | | | the Rack spec | |||||
| * | Use ActionDispatch::Routing everywhere | Martin Schürrer | 2010-02-21 | 4 | -13/+19 | |
| | | ||||||
| * | Store compiled parameter filters so we don't have to compile them in each ↵ | José Valim | 2010-02-21 | 1 | -25/+40 | |
| | | | | | | | | request. | |||||
| * | Fix a bunch of pending tests by providing an introspection mode for the ↵ | Carlhuda | 2010-02-19 | 3 | -19/+41 | |
| | | | | | | | | Response object that does up-front parsing of the headers to populate things like @etag | |||||
| * | Revert behavior from a5684dfa3c16472bfa5d5d861ba78cb6dbadcb59 and ensure ↵ | José Valim | 2010-02-19 | 1 | -1/+1 | |
| | | | | | | | | after_initializer is executed after to_prepare callbacks. | |||||
| * | Rename router internal option :namespace to :controller_namespace which is ↵ | José Valim | 2010-02-17 | 1 | -3/+3 | |
| | | | | | | | | its real purpose. | |||||
| * | Merge master. | José Valim | 2010-02-17 | 1 | -1/+1 | |
| |\ | ||||||
| | * | rack-mount 0.5 support | Joshua Peek | 2010-02-15 | 1 | -1/+1 | |
| | | | ||||||
| * | | Make Railties tests green again. | José Valim | 2010-02-17 | 1 | -7/+12 | |
| | | | ||||||
| * | | AD::TestProcess relies on request.flash, so let's load it. | José Valim | 2010-02-16 | 1 | -0/+2 | |
| | | |