Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | :subdomain, :domain and :tld_length options can now be used in url_for, ↵ | Josh Kalderimis | 2010-11-23 | 6 | -31/+105 | |
| | | | | | | 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 | |
| | ||||||
* | 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 | |||||
* | 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> | |||||
* | 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> | |||||
* | 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> | |||||
* | 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> | |||||
* | test for text/*, application/* and image/* | Neeraj Singh | 2010-11-22 | 1 | -1/+27 | |
| | | | | 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> | |||||
* | 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 | 2 | -1/+5 | |
| | | | | | | 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 | 2 | -1/+7 | |
| | | | | | | | | | | | 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 | |||||
* | realigns a series of hash arrows | Xavier Noria | 2010-11-21 | 1 | -10/+10 | |
| | ||||||
* | 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. | |||||
* | Ensure calling reset session twice does not raise errors. | José Valim | 2010-11-20 | 1 | -0/+12 | |
| | ||||||
* | 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 | |
| | ||||||
* | Avoid range object creation | Santiago Pastorino | 2010-11-20 | 1 | -1/+1 | |
| | ||||||
* | 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 | 2 | -3/+47 | |
| | | | | | | state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Fix indentation | Santiago Pastorino | 2010-11-19 | 1 | -1/+1 | |
| | ||||||
* | Don't merge just directly add to the action to the :partial key | Santiago Pastorino | 2010-11-19 | 1 | -1/+1 | |
| | ||||||
* | Useless assignation | Santiago Pastorino | 2010-11-19 | 1 | -1/+1 | |
| | ||||||
* | 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 | 4 | -8/+44 | |
| | | | | | | | | | | | | | | | | 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 | 4 | -44/+8 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | delegating path and open to internal tempfile | Aaron Patterson | 2010-11-18 | 2 | -2/+20 | |
| | ||||||
* | Added config.action_controller.include_all_helpers to CHANGELOG. | Piotr Sarnacki | 2010-11-18 | 1 | -0/+2 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Add config.action_controller.include_all_helpers, by default it is set to true. | Piotr Sarnacki | 2010-11-18 | 2 | -2/+5 | |
| | | | | | | | In older rails versions there was a way to use only helpers from helper file corresponding to current controller and you could also include all helpers by saying 'helper :all' in controller. This config allows to return to older behavior by setting it to false. | |||||
* | Pass the view object as parameter to the handler. Useful if you need to ↵ | José Valim | 2010-11-17 | 2 | -1/+11 | |
| | | | | 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> | |||||
* | Bump builder to 3.0.0 | Santiago Pastorino | 2010-11-17 | 1 | -1/+1 | |
| | ||||||
* | Anchors should be allowed on constraints that are not on path segments | Carl Lerche | 2010-11-16 | 2 | -9/+20 | |
| | ||||||
* | Update the version.rb files to include a PRE part | Carl Lerche | 2010-11-16 | 1 | -2/+2 | |
| | ||||||
* | Brought the domain method in AD http url inline with subdomain where ↵ | Josh Kalderimis | 2010-11-16 | 2 | -1/+5 | |
| | | | | @@tld_length is used by default. Also set the default value of @@tld_length to 1. | |||||
* | changed asset_timestamps_cache to asset_ids_cache, added an rdoc comment to ↵ | Josh Kalderimis | 2010-11-16 | 2 | -17/+21 | |
| | | | | the new public api, and updated the railtie | |||||
* | corrected the AV railtie to use the new home for cache_asset_timestamps, and ↵ | Josh Kalderimis | 2010-11-16 | 4 | -75/+47 | |
| | | | | merged asset id caching and asset paths together. | |||||
* | reorganised the the common asset helpers module into a class and have it ↵ | Josh Kalderimis | 2010-11-16 | 6 | -125/+128 | |
| | | | | include the id caching module, this class is now shared from the view instance to the asset include tag helpers (js and css) | |||||
* | incorporated most of the feedback from José | Josh Kalderimis | 2010-11-16 | 7 | -290/+281 | |
| |