Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Fixed number_with_precision rounding error [#6182 state:resolved]" | Piotr Sarnacki | 2010-12-17 | 1 | -5/+0 |
| | | | | This reverts commit 006ec77e60163d57d655479602230672d98e0f10. | ||||
* | Fixed number_with_precision rounding error [#6182 state:resolved] | Don Wilson | 2010-12-17 | 1 | -0/+5 |
| | |||||
* | Replace rudimentary named_scope with scope. [#6052 state:resolved] | Pavel Gorbokon | 2010-12-15 | 1 | -3/+3 |
| | | | | | | | * rename method names (actually in tests) * rename instance variable @_named_scopes_cache to @_scopes_cache * rename references in doc comments * don't touch CHANGELOG :) | ||||
* | Fix edge cases for domain :all option on cookie store | brainopia | 2010-12-16 | 1 | -0/+21 |
| | | | | | | | | Dont set explicit domain for cookies if host is not a domain name [#6002 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Ensure that while caching a page rails takes into | Neeraj Singh | 2010-12-09 | 1 | -0/+16 |
| | | | | | | | | account the resolved mime type for the request [#6110 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Properly check the arity for template handlers. | José Valim | 2010-12-09 | 1 | -0/+5 |
| | |||||
* | Check if the routes object really responds to define_mount_prefix. | José Valim | 2010-12-09 | 1 | -0/+18 |
| | |||||
* | Allow back passing :rescue_format => nil and test added | Santiago Pastorino | 2010-12-04 | 1 | -0/+5 |
| | |||||
* | Make TranslationHelper#translate use the :rescue_format option in I18n 0.5.0 | Sven Fuchs | 2010-12-04 | 6 | -29/+43 |
| | | | | | | 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> | ||||
* | Merge remote branch 'joshk/redirect_routing' | José Valim | 2010-12-03 | 3 | -284/+387 |
|\ | | | | | | | | | | | | | | | 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/+17 |
| | | | | | | | | 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 | 3 | -284/+370 |
| | | | | | | | | 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. | ||||
* | | Fix tests on 1.9.2. | José Valim | 2010-11-28 | 3 | -13/+14 |
| | | |||||
* | | trailing star mimes should respect the order in which mime types are defined. | José Valim | 2010-11-28 | 1 | -13/+6 |
|/ | |||||
* | Dynamically generaeted helpers on collection should not clobber resources ↵ | José Valim | 2010-11-25 | 1 | -0/+11 |
| | | | | url helper [#6028 state:resolved] | ||||
* | If a user wants json output then try best to render json output. In such ↵ | Neeraj Singh | 2010-11-24 | 2 | -0/+24 |
| | | | | | | | | 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 | -0/+20 |
| | | | | HTTP_ACCEPT parameter | ||||
* | processing image/* is an odditity because there is | Neeraj Singh | 2010-11-25 | 1 | -6/+0 |
| | | | | | | 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/* | ||||
* | clean up test by using unregister method | Neeraj Singh | 2010-11-25 | 2 | -14/+7 |
| | |||||
* | unregister method implementation and test | Neeraj Singh | 2010-11-25 | 1 | -0/+17 |
| | |||||
* | Remove the not needed setup and teardown | Neeraj Singh | 2010-11-25 | 1 | -3/+0 |
| | |||||
* | Allow template handlers to store temp data. | José Valim | 2010-11-24 | 1 | -2/+27 |
| | |||||
* | port_string bought back to life as it is part of the public api | Josh Kalderimis | 2010-11-24 | 1 | -1/+9 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | :subdomain, :domain and :tld_length options can now be used in url_for, ↵ | Josh Kalderimis | 2010-11-23 | 2 | -4/+25 |
| | | | | | | allowing for easy manipulation of the host during link generation. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | adding a test for the runner module [#6027 state:resolved] | Aaron Patterson | 2010-11-22 | 1 | -0/+22 |
| | |||||
* | sort lists before comparing them | Aaron Patterson | 2010-11-22 | 1 | -4/+4 |
| | |||||
* | make test more resilient to future changes by not | Neeraj Singh | 2010-11-22 | 1 | -2/+0 |
| | | | | | | | | | | testing the count and not testing the internal value of the registered mime type. Ideally all mime type registration should be cleaned up in teardown. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | move the mime registration code to setup so that | Neeraj Singh | 2010-11-22 | 1 | -2/+19 |
| | | | | | | | | | | | | | | | it could be cleaned up on teardown. Currently the test code test/controller/mime_responds_test.rb impacts test/dispatch/mime_type_test.rb. dispatch/mime_type_test.rb runs independently fine but when run as part of rake breaks because of new mime types registered in controller/mime_responds_test.rb Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | rename star star to just one star | Neeraj Singh | 2010-11-22 | 1 | -3/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | cleanup Mime::LOOKUP after registering image/gif | Neeraj Singh | 2010-11-22 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | fix test | Neeraj Singh | 2010-11-22 | 1 | -3/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | test for text/*, application/* and image/* | Neeraj Singh | 2010-11-22 | 1 | -1/+27 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | add the fixture file | Neeraj Singh | 2010-11-22 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | do not assume that there is no space between | Neeraj Singh | 2010-11-22 | 1 | -0/+4 |
| | | | | | | leading */* and comma Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | failing test for #6022 | Neeraj Singh | 2010-11-22 | 1 | -0/+34 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | current code ignores http header "Accept" if it | Neeraj Singh | 2010-11-22 | 1 | -0/+6 |
| | | | | | | | | | | | 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> | ||||
* | realigns a series of hash arrows | Xavier Noria | 2010-11-21 | 1 | -10/+10 |
| | |||||
* | Ensure calling reset session twice does not raise errors. | José Valim | 2010-11-20 | 1 | -0/+12 |
| | |||||
* | do not require ruby-debug automatically. please require it if you have ↵ | Aaron Patterson | 2010-11-19 | 1 | -8/+0 |
| | | | | declared it as a dependency | ||||
* | Fix AssetIncludeTag ensuring that files are in the wrong directory [#6015 ↵ | Henning Koch | 2010-11-19 | 1 | -0/+44 |
| | | | | | | state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Revert "Quick fix for not escaping []s (not ideal)" | Santiago Pastorino | 2010-11-18 | 1 | -3/+3 |
| | | | | | | | | | According to http://www.ietf.org/rfc/rfc2616.txt and http://tools.ietf.org/rfc/rfc3986.txt [ and ] are reserved characters and should be escaped using "%" HEX HEX This reverts commit 856d2fd874d72dd9f83204affff4edfef3308361 and 1ee9b40b18a0bed5bb10a0785f7e2730bac983f6.. | ||||
* | Revert "Remove deprecated form_for with strings or symbols" | José Valim | 2010-11-18 | 3 | -5/+35 |
| | | | | | | | | | | | | | | | | This code was not deprecated. What was deprecated is the following: form_for(:foo, @foo) Which now should be rewritten as: form_for(@foo, :as => :foo) The following format is valid: form_for(:foo) This reverts commit be797750e6ce866ea08307f63bf35304a965c8d4. | ||||
* | Remove deprecated form_for with strings or symbols | Leonardo Capillera | 2010-11-18 | 3 | -35/+5 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | delegating path and open to internal tempfile | Aaron Patterson | 2010-11-18 | 1 | -0/+12 |
| | |||||
* | Pass the view object as parameter to the handler. Useful if you need to ↵ | José Valim | 2010-11-17 | 1 | -0/+9 |
| | | | | access the lookup context or other information when compiling the template. | ||||
* | fix warning during test execution | Neeraj Singh | 2010-11-17 | 1 | -1/+1 |
| | | | | | | [#5997 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Anchors should be allowed on constraints that are not on path segments | Carl Lerche | 2010-11-16 | 1 | -0/+8 |
| | |||||
* | Brought the domain method in AD http url inline with subdomain where ↵ | Josh Kalderimis | 2010-11-16 | 1 | -0/+3 |
| | | | | @@tld_length is used by default. Also set the default value of @@tld_length to 1. | ||||
* | incorporated most of the feedback from José | Josh Kalderimis | 2010-11-16 | 1 | -2/+2 |
| | |||||
* | removed an assert from a test as it was testing a private method | Josh Kalderimis | 2010-11-16 | 1 | -1/+0 |
| |