aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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.
* | reverting changes to form_options_helper for mergeSven Fuchs2008-07-161-3/+763
| |
* | Removed unnecessary or condition in #error_messages_forLuca Guidi2008-07-081-3/+3
| |
* | Added localize helper methodLuca Guidi2008-07-081-0/+6
| |
* | Make sure object name is translated in #error_messages_forLuca Guidi2008-07-081-0/+10
| |
* | align with changes in i18nSven Fuchs2008-07-062-5/+5
| |
* | add a translation helperSven Fuchs2008-07-061-0/+42
| |
* | Make sure mocha is availableLuca Guidi2008-06-273-95/+103
| |
* | update tests according to removal of self.locale from helpersSven Fuchs2008-06-233-36/+0
| |
* | remove generic translate helpersSven Fuchs2008-06-231-33/+0
| |
* | check self.locale instead of request.locale in helpersSven Fuchs2008-06-223-10/+10
| |
* | Replaced country_options_for_select with old,Sven Fuchs2008-06-223-789/+775
| | | | | | | | | | | | untranslated version and moved country-related helpers to a new FormCountryHelper helper module so that they can easily be moved to a plugin. Updated tests accordingly.
* | Changed process of storing translations from theSven Fuchs2008-06-211-1/+1
| | | | | | | | | | | | | | | | | | client libraries to the backend: clients now can pass a block to backend#populate which can contain code to load and register translations. This makes sense for backends that persist their translations (e.g. to db) so the repeated loading and passing of translations throughout the server startup would be wasted resources.
* | rename Backend::Simple#add_translations to set_translationsSven Fuchs2008-06-201-1/+1
| | | | | | | | because it overwrites existing translations
* | add a generic tranlate view helperSven Fuchs2008-06-191-0/+33
| |
* | integrating I18n into RailsSven Fuchs2008-06-194-0/+199
|/
* 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]