Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The redirect routing method now allows for a hash of options which only ↵ | Josh Kalderimis | 2010-11-30 | 4 | -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. | ||||
* | Dynamically generaeted helpers on collection should not clobber resources ↵ | José Valim | 2010-11-25 | 1 | -0/+2 |
| | | | | url helper [#6028 state:resolved] | ||||
* | #:nodoc: internal methods. | José Valim | 2010-11-25 | 1 | -31/+31 |
| | |||||
* | process text/* if it appears in the middle of | Neeraj Singh | 2010-11-25 | 1 | -1/+5 |
| | | | | HTTP_ACCEPT parameter | ||||
* | processing image/* is an odditity because there is | Neeraj Singh | 2010-11-25 | 1 | -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 test | Neeraj Singh | 2010-11-25 | 1 | -0/+12 |
| | |||||
* | port_string bought back to life as it is part of the public api | Josh Kalderimis | 2010-11-24 | 1 | -3/+8 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | copy-edits RDoc of 2fe43b6 | Xavier Noria | 2010-11-23 | 1 | -2/+3 |
| | |||||
* | Remove bazillion warnings from AP suite. | José Valim | 2010-11-23 | 1 | -1/+1 |
| | |||||
* | Speed up subdomain and domain calculus. | José Valim | 2010-11-23 | 1 | -14/+6 |
| | |||||
* | :subdomain, :domain and :tld_length options can now be used in url_for, ↵ | Josh Kalderimis | 2010-11-23 | 3 | -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::Runner | Sven Fuchs | 2010-11-22 | 1 | -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 with | Neeraj Singh | 2010-11-22 | 1 | -1/+1 |
| | | | | | | something better Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | string include method is 10x faster than creating | Neeraj Singh | 2010-11-22 | 1 | -1/+1 |
| | | | | | | a new regex object every single time Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Compile regex only once | Neeraj Singh | 2010-11-22 | 1 | -3/+5 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | implement code that handles text/*, appplication/*, | Neeraj Singh | 2010-11-22 | 1 | -1/+16 |
| | | | | | | and image/* Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | declare regex as a constant | Neeraj Singh | 2010-11-22 | 1 | -1/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | do not assume that there is no space between | Neeraj Singh | 2010-11-22 | 1 | -1/+1 |
| | | | | | | leading */* and comma Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | current code ignores http header "Accept" if it | Neeraj Singh | 2010-11-22 | 1 | -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 supported | Neeraj Singh | 2010-11-21 | 1 | -1/+1 |
| | |||||
* | delegating path and open to internal tempfile | Aaron Patterson | 2010-11-18 | 1 | -2/+8 |
| | |||||
* | Anchors should be allowed on constraints that are not on path segments | Carl Lerche | 2010-11-16 | 1 | -9/+12 |
| | |||||
* | Brought the domain method in AD http url inline with subdomain where ↵ | Josh Kalderimis | 2010-11-16 | 1 | -1/+2 |
| | | | | @@tld_length is used by default. Also set the default value of @@tld_length to 1. | ||||
* | rejecting blank strings | Aaron Patterson | 2010-11-15 | 1 | -2/+2 |
| | |||||
* | reduce method calls | Aaron Patterson | 2010-11-15 | 1 | -4/+4 |
| | |||||
* | make sure we are only doing sanity checking against regular expressions | Aaron Patterson | 2010-11-15 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-11-15 | 1 | -9/+212 |
|\ | |||||
| * | Document the constraints method | Ryan Bigg | 2010-11-14 | 1 | -1/+55 |
| | | |||||
| * | Add documentation for :path_names option on resources | Ryan Bigg | 2010-11-13 | 1 | -0/+8 |
| | | |||||
| * | See the scope method for documentation for namespace's shallow_path option | Ryan Bigg | 2010-11-13 | 1 | -0/+3 |
| | | |||||
| * | Add documentation for the mount method in ActionDispatch's Mapper | Ryan Bigg | 2010-11-13 | 1 | -0/+17 |
| | | |||||
| * | Fix indentation for :as option documentation on the namespace method | Ryan Bigg | 2010-11-07 | 1 | -4/+4 |
| | | |||||
| * | Document the :shallow_path option for scope | Ryan Bigg | 2010-11-07 | 1 | -0/+19 |
| | | |||||
| * | Indent final comment for :path option | Ryan Bigg | 2010-11-07 | 1 | -1/+1 |
| | | |||||
| * | Indent code example for :as option | Ryan Bigg | 2010-11-07 | 1 | -3/+3 |
| | | |||||
| * | Document the :as option for the scope method | Ryan Bigg | 2010-11-07 | 1 | -0/+10 |
| | | |||||
| * | Space between module option documentation and path documentation | Ryan Bigg | 2010-11-07 | 1 | -0/+1 |
| | | |||||
| * | Fix indentation on comment for :path option | Ryan Bigg | 2010-11-07 | 1 | -1/+1 |
| | | |||||
| * | Document the :as option for the namespace method | Ryan Bigg | 2010-11-07 | 1 | -0/+8 |
| | | |||||
| * | Document the :module option for namespace | Ryan Bigg | 2010-11-07 | 1 | -0/+15 |
| | | |||||
| * | Document the :path option for namespace | Ryan Bigg | 2010-11-07 | 1 | -0/+11 |
| | | |||||
| * | Begin to document the namespace method for AD's Mapper | Ryan Bigg | 2010-11-07 | 1 | -0/+15 |
| | | |||||
| * | Document the controller method for AD's Mapper | Ryan Bigg | 2010-11-07 | 1 | -0/+6 |
| | | |||||
| * | Document the defaults method | Ryan Bigg | 2010-11-07 | 1 | -0/+5 |
| | | |||||
| * | Document the :module and :path options for the scope method. | Ryan Bigg | 2010-11-07 | 1 | -4/+13 |
| | | |||||
| * | Separate comments and examples with "Examples" header. | Ryan Bigg | 2010-11-07 | 1 | -0/+2 |
| | | |||||
| * | Fix where the documentation says "photos", but the example shows "posts" or ↵ | Ryan Bigg | 2010-11-07 | 1 | -4/+4 |
| | | | | | | | | "comments" by switching both to simply "posts" | ||||
| * | Add further documentation + examples for the get, post, put and delete ↵ | Ryan Bigg | 2010-11-07 | 1 | -1/+21 |
| | | | | | | | | methods in ActionDispatch::Routing::Mapper::HttpHelpers | ||||
* | | Strip regexp anchors from rake routes output [#5934 state:resolved] | Andrew White | 2010-11-09 | 1 | -1/+2 |
| | | |||||
* | | Make cookies hash in ActionDispatch::TestProcess indifferent access [#5761 ↵ | David Trasbo | 2010-11-07 | 1 | -1/+1 |
| | | | | | | | | | | | | state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> |