aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
Commit message (Collapse)AuthorAgeFilesLines
* Added prompt options to date helpers [#561 state:resolved]Sam Oliver2008-12-211-0/+321
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix duplicate test name [#1058 state:resolved] [Dave Rothlisberger, Pratik Naik]Pratik Naik2008-12-201-1/+1
|
* Set template_format to html inside rjs templates so renders within it ↵Joshua Peek2008-12-041-6/+0
| | | | default to html.
* allow options to be passed to email address auto generationAndrew Kaspick2008-12-011-1/+6
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1418 state:committed]
* fixed template recompile issue with previous commit and add some better ↵Joshua Peek2008-11-282-9/+67
| | | | tests so we can make sure it doesn't happen again
* Reinstate "Super lazy load view paths in development mode (no indexing or ↵Joshua Peek2008-11-282-11/+15
| | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading."
* Revert "Super lazy load view paths in development mode (no indexing or ↵David Heinemeier Hansson2008-11-272-15/+11
| | | | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading. This reverts commit 4d910b033379727e5e7355590c50c72fc75e56db.
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-11-272-11/+15
|\
| * Super lazy load view paths in development mode (no indexing or caching at ↵Joshua Peek2008-11-262-11/+15
| | | | | | | | all). Switch layout finders to use view path api to take advantage of cache.
* | Added the option to declare an asset_host as an object that responds to call ↵David Heinemeier Hansson2008-11-271-0/+40
|/ | | | (see http://github.com/dhh/asset-hosting-with-minimum-ssl for an example) [DHH]
* Fix dangling tzinfo dependencyJeremy Kemper2008-11-231-1/+2
|
* Add i18n for number_to_human_size() helper storage units. Translation key is ↵Yaroslav Markin2008-11-231-0/+3
| | | | | | | | number.human.storage_units. [#1448 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* A back support for legacy TemplateHandler#render APIJoshua Peek2008-11-231-0/+11
|
* need to make sure the asset type is cached with it in Cache.. name is ↵Aaron Batalion2008-11-191-0/+6
| | | | | | sufficient, not self Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Changed the default of ActionView#render to assume partials instead of files ↵David Heinemeier Hansson2008-11-192-14/+22
| | | | when not given an options hash [DHH]
* Register 'checked' as an HTML boolean attribute.Hongli Lai (Phusion)2008-11-181-0/+1
| | | | | | | | | | | | | | | This way, 'tag :foo, :type => "checkbox", :checked => false' would output the expected <input type="checkbox" /> instead of the old <input type="checkbox" checked="false" /> The latter would result in a checkbox that's initially checked. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-184-41/+41
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Merge branch 'master' into testingJeremy Kemper2008-11-153-51/+100
|\
| * auto_link helper: add intelligent ending closing bracket handling. add new ↵Mislav Marohnić2008-11-151-47/+81
| | | | | | | | | | | | | | tests and reorder new ones for readability Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1353 state:committed]
| * refactor autolink helper. change tests to expect HTML-escaped URLsMislav Marohnić2008-11-151-13/+24
| | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
| * Tag helper should output an attribute with the value 'false' instead of ↵Hongli Lai (Phusion)2008-11-132-1/+5
| | | | | | | | omitting the attribute, if the associated option is false but not nil.
| * Don't worry about attribute orderingJeremy Kemper2008-11-071-1/+2
| |
| * Use delete if the rhs is nilJeremy Kemper2008-11-071-1/+5
| |
* | Merge branch 'master' into testingJeremy Kemper2008-11-071-0/+1
|\|
| * auto_link view helper was failing on URLs with colons after a query paramRich Manalang2008-11-071-0/+1
| | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1341 state:committed]
* | Don't worry about attribute orderingJeremy Kemper2008-11-071-1/+2
| |
* | Use delete if the rhs is nilJeremy Kemper2008-11-071-1/+5
| |
* | Move controller assertions from base TestCase to AC:: and AV::TestCaseJeremy Kemper2008-11-071-5/+3
|/
* Fixed that FormTagHelper generates illegal html if name contains e.g. square ↵Vladimir Dobriakov2008-11-041-1/+34
| | | | | | brackets [#1238 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fix regression bug that made date_select and datetime_select raise a Null ↵Bernardo de Pádua2008-11-041-0/+40
| | | | | | Pointer Exception when a nil date/datetime was passed and only month and year were displayed [#1289 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Cleaned up route optimisation guard condition generation code as it was ↵Tom Lea2008-11-011-0/+13
| | | | | | | | getting a little messy. Add additional condition to handle the case where default_url_options is only defined in the controller, not the view. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Dup local assigns for partial collections so nil values doesn't get ↵Joshua Peek2008-10-301-0/+4
| | | | overwritten [#1250 state:resolved]
* Proper API for reloading translationsDavid Heinemeier Hansson2008-10-291-2/+2
|
* Ensure @content_for_* is checked before yielding to block in render :layout ↵Ryan Bates2008-10-281-0/+10
| | | | | | [#8994 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Track rendered templates in stack so the current template can always be ↵Joshua Peek2008-10-281-0/+4
| | | | accessed. Added ActionView::Base#template to access the template object.
* modified current_page? to ignore extra parameters unless specified in optionsErik Andrejko2008-10-261-0/+10
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#805 state:committed]
* Fixed bug with asset timestamping when using relative_url_root (Joe ↵David Heinemeier Hansson2008-10-261-0/+8
| | | | Goldwasser) [#1265 status:committed]
* Added inline builder yield to atom_feed_helper tags where appropriate (Sam ↵David Heinemeier Hansson2008-10-131-0/+30
| | | | Ruby) [#8994 status:committed]
* Add support for xml processing instructions in atom_feed_helper [#926 ↵Matthew M. Boedicker2008-10-131-0/+51
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure select_tag#name attribute uses [] when :multiple is true. [#1146 ↵Andrew Kaspick2008-10-071-1/+2
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Implement submit_to_remote as a wrapper around a more generic button_to_remoteTarmo Tänav2008-10-071-3/+3
| | | | | | | Removed the "return false" from submit_to_remote onclick end as button input elements have no default behavior to cancel. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix image_tag behavior on windows. [#1085 state:resolved]madlep2008-10-061-0/+13
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add options to field_set_tagAndrew Kaspick2008-09-291-0/+6
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1116 state:committed]
* Fixed AssetTag cache with with relative_url_root [#1022 state:resolved]Martin Rehfeld2008-09-221-0/+50
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Refactor AssetTagHelper and fix remaining threadsafe issues.Joshua Peek2008-09-221-4/+10
|
* Fixed missing template paths on exception [#1082 state:resolved]Claudio Poli2008-09-201-1/+17
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Remove the country_select helper.Michael Koziarski2008-09-181-1549/+0
| | | | | | | | We're in no position to mediate disputes on this matter, and the previous change to use ISO 3166 has offended just as many people as the ad-hoc list did. If you want the old list back you can install the plugin: ruby script/plugin install git://github.com/rails/country_select.git
* Added image_submit_tag confirm option [status:committed #784]Alastair Brunton2008-09-101-0/+7
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* The FormTagHelper#submit_tag helper will now pass along the original value ↵Jose Fernandez2008-09-101-2/+2
| | | | | | of the submit button to the params if the :disable_with option is used [status:committed #633] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Allow prototype functions to receive position parameter as a symbol.miloops2008-08-301-0/+2
| | | | | | [#887 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>