aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
* Fix template extension parsing. [#2315 state:resolved] [#2284 state:resolved]thedarkone2009-03-241-0/+32
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* pluginize concurrent block body partJeremy Kemper2009-03-191-80/+0
|
* Pare down unit testJeremy Kemper2009-03-161-36/+6
|
* Less ceremonyJeremy Kemper2009-03-131-27/+34
|
* Extract output buffer testJeremy Kemper2009-03-132-34/+35
|
* Simplify parts and testsJeremy Kemper2009-03-131-9/+8
|
* Fix testsJeremy Kemper2009-03-131-4/+4
|
* Example using an edge side include body part to fetch queued rendering resultsJeremy Kemper2009-03-131-9/+27
|
* Body parts: future rendering, threaded future, queued future, open-uri exampleJeremy Kemper2009-03-132-35/+142
|
* Introduce flush_output_buffer to append the buffer to the response body then ↵Jeremy Kemper2009-03-131-0/+35
| | | | start a new buffer. Useful for pushing custom parts to the response body without disrupting template rendering.
* Ensure auto_link doesnt linkify URLs in the middle of a tag [#1523 ↵Eugene Pimenov2009-03-101-0/+6
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed number_to_phone to work with 7 digit numbers [#2176 state:resolved]rpheath2009-03-091-0/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-1/+1
| | | | [#1617 state:resolved]
* Remove duplicate test [#2136 state:resolved]Yury Kotlyarov2009-03-081-5/+0
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed simplified render with nested models [#2042 state:resolved]Joshua Peek2009-03-071-0/+4
|
* submit_tag with confirmation and disable_with [#660 state:resolved]Lawrence Pit2009-03-071-2/+9
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure Active Record error related view helpers escape the message [#1280 ↵Dan Barry2009-03-071-0/+34
| | | | | | state:resolved] [Inge Jørgensen, Dan Barry] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix spelling in test name.Mike Gunderloy2009-02-281-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Pass a custom form builder on to nested fields_for calls. [#2023 ↵Eloy Duran2009-02-271-0/+41
| | | | | | status:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Template without a known template handler should only be reachable through ↵thedarkone2009-02-241-0/+10
| | | | | | its exact path. [#2027 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix templates reloading in development when using custom view path [#2012 ↵Joshua Peek2009-02-191-25/+103
| | | | state:resolved]
* Enhanced form option helpers to add support for disabled option tags and use ↵Tekin Suleyman2009-02-141-0/+84
| | | | | | of anonymous functions for specifying selected and disabled values from collections. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* DRY up form option helper testsTekin Suleyman2009-02-141-78/+19
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Stops date select helpers from defaulting the selected date to today if ↵Sam Oliver2009-02-131-14/+14
| | | | | | | :prompt option has been used Signed-off-by: Michael Koziarski <michael@koziarski.com> [#561 state:resolved]
* Changed API of NestedAttributes to take an array, or hash with index keys, ↵Lance Ivy2009-02-131-8/+30
| | | | | | | | of hashes that have the id on the inside of the attributes hash and updated the FormBuilder to produce such hashes. Also fixed NestedAttributes with composite ids. Signed-off-by: Michael Koziarski <michael@koziarski.com> Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com> [#1892 state:committed]
* Port fast reloadable templates from rails-dev-boost.thedarkone2009-02-122-19/+54
|
* Move checkbox hidden field before the actual checkbox so the actual value ↵Joshua Peek2009-02-101-38/+34
| | | | doesn't get clobbered [#1863 state:resolved]
* Fix some edge cases when the same template is called with different local ↵Andrew White2009-02-101-32/+54
| | | | | | assigns Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added partial scoping to TranslationHelper#translate, so if you call ↵David Heinemeier Hansson2009-02-101-0/+6
| | | | translate('.foo') from the people/index.html.erb template, you'll actually be calling I18n.translate(people.index.foo) [DHH]
* Improve view rendering performance in development mode and reinstate ↵Andrew White2009-02-092-33/+24
| | | | | | template recompiling in production [#1909 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Render implicit html template when xhr request now supports localization ↵José Valim2009-02-071-0/+19
| | | | | | [#1886 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added support to dashed locales in templates localization [#1888 state:resolved]José Valim2009-02-061-0/+9
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ruby 1.9 compat: change encoding of action_view/renderable to utf-8, so erb ↵Eugene Pimenov2009-02-061-0/+9
| | | | | | | | templates can use utf-8 properly [#1881 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Allowing an object to be passed explicitly to a fields_for with ↵Pascal Ehlert2009-02-061-0/+9
| | | | | | | nested_attributes on one-to-one associations Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1849 state:committed]
* Added tests from Andrew Whites fix [#1385 state:committed]David Heinemeier Hansson2009-02-051-0/+21
|
* Fix a syntax error in current_page?() that was prevent matches against URL's ↵chris finne2009-02-051-1/+13
| | | | | | with multiple query parameters [#1868 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-039-919/+899
|
* Add support for nested object forms to ActiveRecord and the helpers in ↵Eloy Duran2009-02-011-5/+136
| | | | | | | | ActionPack Signed-Off-By: Michael Koziarski <michael@koziarski.com> [#1202 state:committed]
* Fix unsorted array comparisonJeremy Kemper2009-01-311-1/+1
|
* Added grouped_options_for_select helper method for wrapping option tags in ↵Jon Crawford2009-01-291-0/+26
| | | | | | optgroups. [#977 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Using the highlight helper on text with html shouldn't highlight text inside ↵Dan Weinand2009-01-281-0/+23
| | | | | | html attributes. [#1302 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure selected option is not ignored for collection_select. [#1037 ↵Daniel Rodríguez Troitiño2009-01-281-0/+16
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Improve i18n support for number_to_human_size helper:Yaroslav Markin2009-01-271-5/+19
| | | | | | | | | | | | * now using pluralization properly * storage unit translations moved to number.human.storage_units.units * introduced number.human.storage_units.format for languages that do not follow "{{number}} {{unit}}" format (Japanese) NOTE: I18n table changed, you will need to update your translations. [#1634 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add localized templatesJoshua Peek2009-01-251-0/+15
| | | | | | | | # Default locale app/views/messages/index.html.erb # I18n.locale is set to :da (Danish) app/views/messages/index.da.html.erb
* Fix date_select within fields_for with an index [#1666 state:resolved] ↵Josh2009-01-161-15/+80
| | | | | | [Josh, Frederick Cheung] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* Revert to the good old days when AssetTag didn't cause anyone problemsJoshua Peek2009-01-021-2/+0
|
* Added :silence option to BenchmarkHelper#benchmark and turned log_level into ↵David Heinemeier Hansson2009-01-011-24/+50
| | | | a hash parameter and deprecated the old use [DHH]
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2009-01-012-7/+9
|\
| * Clean up view path cruft and split path implementations into Template::Path ↵Joshua Peek2008-12-292-7/+9
| | | | | | | | and Template::EagerPath
* | Fixed the AssetTagHelper cache to use the computed asset host as part of the ↵David Heinemeier Hansson2009-01-011-0/+20
|/ | | | cache key instead of just assuming the its a string [#1299 state:committed]