aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Improve PartialTemplate testsPratik Naik2008-05-021-0/+5
|
* Fixed that TextHelper#text_field would corrypt when raw HTML was used as the ↵David Heinemeier Hansson2008-05-011-0/+16
| | | | value (mchenryc, Kevin Glowacz) [#80 state:resolved]
* Fixed render :template for templates in top level of view path. [#54 ↵Pratik Naik2008-05-011-2/+3
| | | | state:resolved]
* Fixed labels that have a bracketed name and an index [#68 state:resolved]Kevin Glowacz2008-04-301-0/+12
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* FormHelper#label_tag accepts :for option [encoded] [#38 state:resolved]Joshua Peek2008-04-301-54/+62
|
* Fixed tests (and the weird assumption that no logger would mean that the ↵David Heinemeier Hansson2008-04-301-19/+7
| | | | code wasnt run)
* select_datetime and select_time default to Time.zone.now when ↵gbuesing2008-04-211-0/+18
| | | | config.time_zone is set
* datetime_select defaults to Time.zone.now when config.time_zone is setgbuesing2008-04-211-0/+36
|