Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Use ||= here | Santiago Pastorino | 2010-12-04 | 1 | -1/+1 | |
| | | ||||||
* | | Make TranslationHelper#translate use the :rescue_format option in I18n 0.5.0 | Sven Fuchs | 2010-12-04 | 1 | -7/+25 | |
| | | | | | | | | | | | | Don't catch exceptions here. Instead only declare that we want exceptions to be rescued as :html, but also let users configure reactions to exceptions in I18n. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | Wrap everything in class << self. | José Valim | 2010-12-03 | 1 | -42/+37 | |
| | | ||||||
* | | Merge remote branch 'joshk/redirect_routing' | José Valim | 2010-12-03 | 4 | -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 Kalderimis | 2010-11-30 | 1 | -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 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. | |||||
| * | | move the setting up of the mime collector into the collector on init | Josh Kalderimis | 2010-11-26 | 1 | -3/+3 | |
| | | | ||||||
* | | | Deprecate handler_class_for_extension as template handlers can be any Ruby ↵ | José Valim | 2010-12-01 | 3 | -3/+9 | |
| | | | | | | | | | | | | object, not necessarily a class. | |||||
* | | | just use alias | Aaron Patterson | 2010-11-30 | 1 | -3/+1 | |
| | | | ||||||
* | | | Fix tests on 1.9.2. | José Valim | 2010-11-28 | 1 | -6/+9 | |
| | | | ||||||
* | | | trailing star mimes should respect the order in which mime types are defined. | José Valim | 2010-11-28 | 1 | -7/+11 | |
| |/ |/| | ||||||
* | | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-11-27 | 3 | -29/+69 | |
|\ \ | ||||||
| * | | Add explicit statement that verify_authenticity_token can be turned off for ↵ | Ryan Bigg | 2010-11-27 | 1 | -3/+7 | |
| | | | | | | | | | | | | actions. | |||||
| * | | Resolving LH #5986, cookies doc updates | Aditya Sanghi | 2010-11-26 | 1 | -3/+10 | |
| | | | ||||||
| * | | Add mention of nested resource to resources documentation | Ryan Bigg | 2010-11-24 | 1 | -0/+15 | |
| | | | ||||||
| * | | Document the :path option for resources :posts | Ryan Bigg | 2010-11-24 | 1 | -0/+8 | |
| | | | ||||||
| * | | Add :module option documentation for the resources method | Ryan Bigg | 2010-11-24 | 1 | -0/+8 | |
| | | | ||||||
| * | | Remove non-sensical first couple of lines for scope method documentation | Ryan Bigg | 2010-11-24 | 1 | -2/+0 | |
| | | | ||||||
| * | | Paths in ActionDispatch::Scoping documentation should be for /admin/posts, ↵ | Ryan Bigg | 2010-11-24 | 1 | -14/+14 | |
| | | | | | | | | | | | | not /admin/photos | |||||
| * | | Fix formatting issue with rake routes output for the namespace method | Ryan Bigg | 2010-11-24 | 1 | -7/+7 | |
| | | | ||||||
* | | | implicit self here | Santiago Pastorino | 2010-11-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | move the setting up of the mime collector into the collector on init | Josh Kalderimis | 2010-11-25 | 1 | -3/+3 | |
| |/ |/| | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | 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 | |
| | | ||||||
* | | If a user wants json output then try best to render json output. In such ↵ | Neeraj Singh | 2010-11-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | cases prefer kind_of(String) over respond_to?(to_str) [#5841 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | 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 | |
| | | ||||||
* | | Allow template handlers to store temp data. | José Valim | 2010-11-24 | 1 | -0/+5 | |
| | | ||||||
* | | 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> | |||||
* | | No need to return anything | Neeraj Singh | 2010-11-24 | 1 | -1/+0 | |
| | | ||||||
* | | 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 | 4 | -27/+80 | |
| | | | | | | 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> | |||||
* | Remove unused constant | Santiago Pastorino | 2010-11-22 | 1 | -2/+0 | |
| | ||||||
* | There's no need for ternary op here | Santiago Pastorino | 2010-11-22 | 1 | -1/+1 | |
| | ||||||
* | Remove unneeded metaprogramming and method generation in favor of direct ↵ | Santiago Pastorino | 2010-11-22 | 1 | -24/+10 | |
| | | | | definition | |||||
* | use_accept_header is no longer supported | Neeraj Singh | 2010-11-21 | 1 | -1/+1 | |
| | ||||||
* | Mention the case that `render` will return nil if given `:collection` is nil ↵ | Prem Sichanugrist | 2010-11-21 | 1 | -0/+5 | |
| | | | | or empty when rendering partial. | |||||
* | class inheritable attributes is used no more! all internal use of class ↵ | Josh Kalderimis | 2010-11-20 | 3 | -6/+8 | |
| | | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Fix indentation | Santiago Pastorino | 2010-11-20 | 1 | -24/+23 | |
| |