aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'mainstream/master'Pratik Naik2010-03-151-8/+8
|\
| * Don't force singularization of singleton resource names, e.g. /preferences ↵Andrew White2010-03-151-8/+8
| | | | | | | | | | | | [#4089 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | Merge remote branch 'mainstream/master'Pratik Naik2010-03-1222-362/+647
|\| | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb railties/lib/rails/configuration.rb railties/lib/rails/log_subscriber.rb
| * Merge branch 'master' of gitproxy:rails/railsJosé Valim2010-03-103-16/+69
| |\
| | * skip_relative_url_root url_for option is deadJoshua Peek2010-03-092-3/+1
| | |
| | * Allow default_url_options to be set on route setJoshua Peek2010-03-092-0/+9
| | |
| | * RouteSet#rewrite => url_forJoshua Peek2010-03-092-3/+2
| | |
| | * Unused RouteSet#url_for is hogging a good method nameJoshua Peek2010-03-091-13/+4
| | |
| | * Move AC::UrlRewriter onto route setJoshua Peek2010-03-092-1/+57
| | |
| * | Remove uneeded methods.José Valim2010-03-101-15/+0
| |/
| * Refactor the RouteSet so it uses a Generator object instead of one huge method.wycats2010-03-091-87/+109
| |
| * Reinstate default_url_options and remove url_options= writerJeremy Kemper2010-03-081-47/+19
| |
| * Remove outdated, distracting commented codeJeremy Kemper2010-03-081-25/+0
| |
| * Now that class_attribute creates an instance method, remove it to avoid ↵wycats2010-03-081-1/+2
| | | | | | | | deprecation warnings ;)
| * Simplify the action endpoint:Carlhuda2010-03-081-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::RequestCarlhuda2010-03-081-0/+8
| |
| * Require 'active_support/core_ext/hash/except' in the router.Carl Lerche2010-03-081-0/+2
| |
| * Whoops. We meant to switch from returning to tap, not vice versaCarlhuda2010-03-081-1/+1
| |
| * Add support for mount RackApp, :at => "/sprockets" with a shorthand of mount ↵Carlhuda2010-03-083-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 nameJan De Poorter2010-03-071-1/+4
| | | | | | | | | | | | [#3911 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-074-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 warningJeremy Kemper2010-03-051-2/+2
| |
| * Remove the ability to set the mountpoint when initializing a route set.Carl Lerche2010-03-041-4/+3
| |
| * Tweak out url_for uses :script_name and add some testsCarl Lerche2010-03-042-10/+11
| |
| * Have ActionDispatch::Routing::RouteSet.new ready to receive routes as is.Carl Lerche2010-03-041-0/+1
| |
| * Get rid of relative_url_path in favor of respecting SCRIPT_NAME. Also added ↵Carlhuda2010-03-042-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 ↵Carlhuda2010-03-042-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 warningsCarlhuda2010-03-041-0/+2
| |
| * Add caller to request_uri deprecation noticeCarlhuda2010-03-031-1/+1
| |
| * Move remote_ip to a middleware:Carlhuda2010-03-034-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 middlewareCarl Lerche2010-03-031-0/+25
| |
| * ActionDispatch::Request deprecates #request_uriCarl Lerche2010-03-031-10/+3
| | | | | | | | * Refactored ActionPatch to use fullpath instead
| * Rack::Request actually defines #query_stringCarl Lerche2010-03-031-5/+0
| |
| * Tweak the semantic of various URL related methods of ActionDispatch::RequestCarlhuda2010-03-031-25/+6
| |
| * No longer add missing leading / on path args to assert_redirected_to. ↵Jeremy Kemper2010-03-021-9/+14
| | | | | | | | Deprecated in 2.3.6.
| * Request#subdomain returns a string version of Request#subdomainsJoshua Peek2010-02-281-0/+4
| |
| * Remove implicit controller namespacing from new dslJoshua Peek2010-02-283-23/+27
| |
| * The instance_reader of default_url_options needs to not exist.Yehuda Katz2010-02-271-0/+1
| |
| * Remind us that RoutingAssertions should work in an integration contextYehuda Katz2010-02-261-0/+1
| |
| * Set the body using the accessor for AD::Response introspection mode so it ↵Carlhuda2010-02-261-1/+2
| | | | | | | | gets wrapped in a []
| * 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
| |