aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* fixing space errorsAaron Patterson2011-01-171-1/+1
|
* fixing wrong testAaron Patterson2011-01-171-1/+1
|
* button_tag should escape it contentSantiago Pastorino2011-01-121-0/+7
|
* Allow view in AV::TestCase to access it's controller helpers methodsSantiago Pastorino2011-01-121-0/+21
|
* authenticity_token option for form_tag [#2988 state:resolved]Jakub Kuźma2011-01-091-0/+18
|
* Improve select helpers by allowing a selected value of false. This is ↵John Allison2011-01-091-8/+24
| | | | useful when using a select helper with a boolean attribute, and the attribute is false. (e.g. f.select :allow_comments)
* HTML5 button_tag helperRizwan Reza2011-01-091-0/+28
| | | | | | | | This tag is similar in nature to submit_tag, but allows more control. It also doesn't submit if submit type isn't used, allowing JavaScript to control the flow where required. For more information: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-button-element
* Recreate symlink in layouts for testsPiotr Sarnacki2010-12-311-0/+1
|
* Don't be so picky on MissingTemplate error details, this fails randomly on ↵Piotr Sarnacki2010-12-311-4/+3
| | | | 1.8.7 because of not ordered hash
* added tests for the MissingTemplate exception message.Nick Sutterer2010-12-311-0/+21
|
* ActionController::Base.helpers.sanitize ignores case in protocolTimothy N. Tsvetkov2010-12-302-1/+7
| | | | | | [#6044 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* process_action accepts multiple args, even with Callbacks.Nick Sutterer2010-12-291-0/+21
|
* Speed up template inheritance and remove template inheritance optionwycats2010-12-261-12/+0
|
* A bunch of cleanup on the inherited template patchwycats2010-12-261-1/+1
|
* all tests passartemave2010-12-264-33/+33
|
* #948 make template inheritance optionalartemave2010-12-261-0/+11
|
* #948 template_inheritanceartemave2010-12-264-11/+75
|
* Don't deprecate to_prepare.José Valim2010-12-231-5/+7
|
* Clean up callbacks should also be called on exceptions.José Valim2010-12-231-0/+14
|
* Allow registering javascript/stylesheet_expansions to existing symbolsSantiago Pastorino2010-12-221-0/+19
|
* Do not use the same hash instance for expansions [#6114 state:resolved]Piotr Sarnacki2010-12-221-0/+8
| | | | | Using the same hash instance makes using the same expansions for both javascripts and stylesheets.
* Small changes on AD::Reloader.José Valim2010-12-201-20/+5
|
* Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepareJohn Firebaugh2010-12-201-59/+13
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Introduce ActionDispatch::ReloaderJohn Firebaugh2010-12-201-0/+139
| | | | | | | | | | | | Based on the implementation on the 2-3-stable branch, patches by Hongli Lai <hongli@phusion.nl>, and helpful suggestions from José Valim. Hongli Lai's patches included locking around the request cycle; this is now handled by Rack::Lock (https://github.com/rack/rack/issues/issue/87/). [#2873] Signed-off-by: José Valim <jose.valim@gmail.com>
* Fixed number_with_precision rounding error [#6182 state:resolved]Don Wilson2010-12-181-0/+5
|
* Revert "Fixed number_with_precision rounding error [#6182 state:resolved]"Piotr Sarnacki2010-12-171-5/+0
| | | | This reverts commit 006ec77e60163d57d655479602230672d98e0f10.
* Fixed number_with_precision rounding error [#6182 state:resolved]Don Wilson2010-12-171-0/+5
|
* Replace rudimentary named_scope with scope. [#6052 state:resolved]Pavel Gorbokon2010-12-151-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 storebrainopia2010-12-161-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 intoNeeraj Singh2010-12-091-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é Valim2010-12-091-0/+5
|
* Check if the routes object really responds to define_mount_prefix.José Valim2010-12-091-0/+18
|
* Allow back passing :rescue_format => nil and test addedSantiago Pastorino2010-12-041-0/+5
|
* Make TranslationHelper#translate use the :rescue_format option in I18n 0.5.0Sven Fuchs2010-12-046-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é Valim2010-12-033-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 Kalderimis2010-11-301-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 Kalderimis2010-11-303-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é Valim2010-11-283-13/+14
| |
* | trailing star mimes should respect the order in which mime types are defined.José Valim2010-11-281-13/+6
|/
* Dynamically generaeted helpers on collection should not clobber resources ↵José Valim2010-11-251-0/+11
| | | | url helper [#6028 state:resolved]
* If a user wants json output then try best to render json output. In such ↵Neeraj Singh2010-11-242-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 ofNeeraj Singh2010-11-251-0/+20
| | | | HTTP_ACCEPT parameter
* processing image/* is an odditity because there isNeeraj Singh2010-11-251-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 methodNeeraj Singh2010-11-252-14/+7
|
* unregister method implementation and testNeeraj Singh2010-11-251-0/+17
|
* Remove the not needed setup and teardownNeeraj Singh2010-11-251-3/+0
|
* Allow template handlers to store temp data.José Valim2010-11-241-2/+27
|
* port_string bought back to life as it is part of the public apiJosh Kalderimis2010-11-241-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 Kalderimis2010-11-232-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 Patterson2010-11-221-0/+22
|