aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
* Set global ActionController::Base.view_paths for test casesJoshua Peek2008-07-122-9/+1
|
* Ensure mail_to label is obfuscated for javascript encoding. [#294 ↵Johan Sørensen2008-07-121-0/+1
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Changed ActionView::TemplateHandler#render API method signature to ↵Joshua Peek2008-07-111-5/+4
| | | | render(template, local_assigns = {})
* Changed PrototypeHelper#submit_to_remote to PrototypeHelper#button_to_remote ↵David Heinemeier Hansson2008-07-091-2/+2
| | | | to stay consistent with link_to_remote (submit_to_remote still works as an alias) (clemens) [#8994 status:closed]
* Ensure url_for(nil) falls back to url_for({}). [#472 state:resolved]Cheah Chu Yeow2008-07-091-1/+10
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add :recursive option to javascript_include_tag and stylesheet_link_tag to ↵Damian Janowski2008-07-081-0/+43
| | | | | | be used along with :all. [#480 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Revert "Moved TemplateHandlers to Base"Joshua Peek2008-07-031-4/+4
| | | | | | | | | This reverts commit 42d215a925a228778e43f7040f03ad8f3eb5341c. Conflicts: actionpack/lib/action_view/inline_template.rb actionpack/lib/action_view/template.rb
* Allow date helpers to ignore date hidden field tags. [#503 state:resolved]miloops2008-07-041-0/+15
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Moved TemplateHandlers to BaseJoshua Peek2008-07-031-4/+4
|
* Remove old method of including javascripts define_javascript_functions.Michael Koziarski2008-07-031-8/+0
| | | | javascript_include_tag and friends do a much better job.
* Deprecate :use_full_path render option. The supplying the option no longer ↵Joshua Peek2008-07-021-2/+2
| | | | has an effect.
* use mocha for TimeZone mocking in Form Options helper testsrick2008-07-021-504/+495
|
* Make sure render :collection doesnt set nil local when :as is absentPratik Naik2008-07-021-0/+5
|
* Add :as option to render a collection of partials with a custom local ↵Pratik Naik2008-07-021-0/+5
| | | | variable name. [#509 state:resolved] [Simon Jefford, Pratik Naik]
* Ensure proper output when submit_tag is used with :disabled_with. [#388 ↵Scott Stewart2008-07-021-0/+7
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Added support for regexp matching of priority zones in time_zone_select ↵Ernie Miller2008-06-291-0/+18
| | | | [#195 state:resolved]
* Ensure FormBuilder date helpers respects html_options. [#506 state:resolved] ↵Pratik Naik2008-06-291-8/+55
| | | | | | [Pascal Ehlert] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Allow single quote (the ' character) in the middle of URL when ↵Cheah Chu Yeow2008-06-271-0/+1
| | | | | | auto_link-ing. [#471 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Set precompiled fixture load path constant to speed up testsJoshua Peek2008-06-252-7/+5
|
* Consolidate CustomHandlerTest, TemplateFileTest, and TemplateObjectTest and ↵Joshua Peek2008-06-253-187/+124
| | | | test them at a higher level of abstraction in ViewRenderTest.
* Check whether blocks are called from erb using a special __in_erb_template ↵Jeremy Kemper2008-06-197-119/+141
| | | | variable visible in block binding.
* Replaced TemplateFinder abstraction with ViewLoadPathsJoshua Peek2008-06-173-80/+112
|
* Added block-call style to link_to [Sam Stephenson/DHH]David Heinemeier Hansson2008-06-171-0/+8
|
* Silence TimeZone warningPratik Naik2008-06-111-2/+2
|
* Fix FormOptionsHelper tests.Jan De Poorter2008-06-111-5/+5
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Removed TemplateFinder.update_extension_cache_for since view path cache will ↵Joshua Peek2008-06-091-7/+0
| | | | be updated on boot.
* Process view paths passed to AV::Base#initialize instead of raising.Jeremy Kemper2008-06-081-6/+0
|
* with_output_buffer returns the temporary buffer instead of the result of the ↵Jeremy Kemper2008-06-081-0/+1
| | | | block
* Use output_buffer reader and writer methods exclusively instead of hitting ↵Jeremy Kemper2008-06-089-227/+148
| | | | the instance variable so others can override the methods.
* Revert "Missed add: deprecated erb_variable test"Jeremy Kemper2008-06-081-9/+0
| | | | This reverts commit 56f5c5582c97b60a89ce44f5dfccba0b5aed4357.
* Missed add: deprecated erb_variable testJeremy Kemper2008-06-081-0/+9
|
* concat should ignore nilJeremy Kemper2008-06-061-0/+8
|
* javascript_tag should only concat when block_given?Jeremy Kemper2008-06-061-0/+4
|
* Merge branch 'master' into erboutJeremy Kemper2008-06-051-0/+5
|\
| * Add RJS#page.reload. [#277 state:resolved]Sean Huber2008-06-041-0/+5
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Work with @output_buffer instead of _erboutJeremy Kemper2008-06-028-192/+192
|/
* Remove dead code, and the tests for it.Michael Koziarski2008-05-311-192/+0
|
* Remove superfluous tests directiveJeremy Kemper2008-05-261-2/+0
|
* Fix auto_link helper for already linked urls. [#72 state:resolved]Kevin Glowacz2008-05-221-0/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Parentheses should be acceptable characters for auto_link_urls. [#234 ↵Adam2008-05-221-0/+1
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Improve check_box_checked? to use include? for Array values. [#193 ↵Erkki Eilonen2008-05-211-0/+11
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure observe_field encodes value parameter. [#216 state:resolved]Frederick Cheung2008-05-191-2/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* InstanceTag#default_time_from_options overflows to DateTimegbuesing2008-05-181-0/+6
|
* auto_link helper fails to recognize links separated by space. [#72 ↵Eugene Pimenov2008-05-161-0/+1
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Adding an example test case for pluralize for (y) -> (ies)Robby Russell2008-05-141-0/+2
|
* Don't fallback to just adding "'s" in TextHelper#pluralize, because the ↵Joshua Peek2008-05-141-25/+14
| | | | Inflector is always loaded.
* Fix remote_function to escape apostrophes inside the remote url passed to ↵Andre Arko2008-05-131-0/+5
| | | | | | Ajax.Update. [#180 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* ActionView::InstanceTag#default_time_from_options with hash args uses ↵gbuesing2008-05-081-0/+23
| | | | Time.current as default; respects hash settings when time falls in system local spring DST gap
* Adding Date.current, which returns Time.zone.today if config.time_zone is ↵gbuesing2008-05-081-0/+9
| | | | set; otherwise returns Date.today. ActionView date_helper uses Date.current to determine locale-appropriate default
* Fixed form helper's name attribute for question methodsAndrew Vit2008-05-061-0/+9
|