aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
* dry up case / when statementAaron Patterson2010-12-171-5/+3
|
* Fix edge cases for domain :all option on cookie storebrainopia2010-12-161-2/+5
| | | | | | | | Dont set explicit domain for cookies if host is not a domain name [#6002 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fix indentation on the namespace method's documentationRyan Bigg2010-12-131-16/+16
|
* Provide an example for ActionDispatch::Routing::Mapper#scopeRyan Bigg2010-12-111-0/+12
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-111-5/+10
|\ | | | | | | | | Conflicts: activerecord/lib/active_record/transactions.rb
| * Action Controller Overview: Remove dead link to the API docs for filtersRyan Bigg2010-12-101-0/+1
| |
| * root method options are the same as the match methodRyan Bigg2010-12-101-0/+2
| |
| * root route should go at the *top* of the routes file, because it is the most ↵Ryan Bigg2010-12-091-1/+3
| | | | | | | | popular route and should be matched first
| * indent code samples for mount docRyan Bigg2010-12-091-3/+3
| |
| * mapper.rb: add "options" to make the default-to-namespace-name line read betterRyan Bigg2010-12-091-1/+1
| |
* | Check if the routes object really responds to define_mount_prefix.José Valim2010-12-091-1/+1
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-051-2/+2
|\
| * Fix mime type doc typosCarlos Antonio da Silva2010-12-041-2/+2
| |
* | Wrap everything in class << self.José Valim2010-12-031-42/+37
| |
* | Merge remote branch 'joshk/redirect_routing'José Valim2010-12-034-79/+184
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/CHANGELOG actionpack/lib/action_controller/metal/mime_responds.rb Signed-off-by: José Valim <jose.valim@gmail.com>
| * | Added documentation explaining the new additional supported syntaxes for the ↵Josh Kalderimis2010-11-301-0/+29
| | | | | | | | | | | | routing redirect method, a small changelog note, and two extra tests for path interpolation when using the hash option syntax.
| * | The redirect routing method now allows for a hash of options which only ↵Josh Kalderimis2010-11-304-79/+155
| | | | | | | | | | | | changes the relevant parts of the url, or an object which responds to call can be supplied so common redirect rules can be easily reused. This commit includes a change where url generation from parts has been moved to AD::Http::URL as a class method.
* | | just use aliasAaron Patterson2010-11-301-3/+1
| | |
* | | Fix tests on 1.9.2.José Valim2010-11-281-6/+9
| | |
* | | trailing star mimes should respect the order in which mime types are defined.José Valim2010-11-281-7/+11
| |/ |/|
* | Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-11-272-26/+62
|\ \ | |/ |/|
| * Resolving LH #5986, cookies doc updatesAditya Sanghi2010-11-261-3/+10
| |
| * Add mention of nested resource to resources documentationRyan Bigg2010-11-241-0/+15
| |
| * Document the :path option for resources :postsRyan Bigg2010-11-241-0/+8
| |
| * Add :module option documentation for the resources methodRyan Bigg2010-11-241-0/+8
| |
| * Remove non-sensical first couple of lines for scope method documentationRyan Bigg2010-11-241-2/+0
| |
| * Paths in ActionDispatch::Scoping documentation should be for /admin/posts, ↵Ryan Bigg2010-11-241-14/+14
| | | | | | | | not /admin/photos
| * Fix formatting issue with rake routes output for the namespace methodRyan Bigg2010-11-241-7/+7
| |
* | Dynamically generaeted helpers on collection should not clobber resources ↵José Valim2010-11-251-0/+2
| | | | | | | | url helper [#6028 state:resolved]
* | #:nodoc: internal methods.José Valim2010-11-251-31/+31
| |
* | process text/* if it appears in the middle ofNeeraj Singh2010-11-251-1/+5
| | | | | | | | HTTP_ACCEPT parameter
* | processing image/* is an odditity because there isNeeraj Singh2010-11-251-1/+1
| | | | | | | | | | | | a test case which expects image/* to not to be expanded. So I am leaving image/* as it is and process only text/* and application/*
* | unregister method implementation and testNeeraj Singh2010-11-251-0/+12
| |
* | port_string bought back to life as it is part of the public apiJosh Kalderimis2010-11-241-3/+8
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | copy-edits RDoc of 2fe43b6Xavier Noria2010-11-231-2/+3
|/
* Remove bazillion warnings from AP suite.José Valim2010-11-231-1/+1
|
* Speed up subdomain and domain calculus.José Valim2010-11-231-14/+6
|
* :subdomain, :domain and :tld_length options can now be used in url_for, ↵Josh Kalderimis2010-11-233-26/+77
| | | | | | allowing for easy manipulation of the host during link generation. Signed-off-by: José Valim <jose.valim@gmail.com>
* add respond_to? to ActionDispatch::Integration::RunnerSven Fuchs2010-11-221-0/+4
| | | | since Runner uses method_missing to delegate to the integration session it also should define respond_to? accordingly
* remove select, collect and then inject withNeeraj Singh2010-11-221-1/+1
| | | | | | something better Signed-off-by: José Valim <jose.valim@gmail.com>
* string include method is 10x faster than creatingNeeraj Singh2010-11-221-1/+1
| | | | | | a new regex object every single time Signed-off-by: José Valim <jose.valim@gmail.com>
* Compile regex only onceNeeraj Singh2010-11-221-3/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* implement code that handles text/*, appplication/*,Neeraj Singh2010-11-221-1/+16
| | | | | | and image/* Signed-off-by: José Valim <jose.valim@gmail.com>
* declare regex as a constantNeeraj Singh2010-11-221-1/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* do not assume that there is no space betweenNeeraj Singh2010-11-221-1/+1
| | | | | | leading */* and comma Signed-off-by: José Valim <jose.valim@gmail.com>
* current code ignores http header "Accept" if itNeeraj Singh2010-11-221-1/+1
| | | | | | | | | | | has ....,*/* . It is possible to a device to send request such that */* appear at the beginning of the "Accept" header. This patch ensures that "Accept" header is ignored for such cases too. Signed-off-by: José Valim <jose.valim@gmail.com>
* use_accept_header is no longer supportedNeeraj Singh2010-11-211-1/+1
|
* delegating path and open to internal tempfileAaron Patterson2010-11-181-2/+8
|
* Anchors should be allowed on constraints that are not on path segmentsCarl Lerche2010-11-161-9/+12
|
* Brought the domain method in AD http url inline with subdomain where ↵Josh Kalderimis2010-11-161-1/+2
| | | | @@tld_length is used by default. Also set the default value of @@tld_length to 1.