aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Merge docrailsPratik Naik2009-03-242-17/+24
|
* Merge branch 'master' into bodypartsJeremy Kemper2009-03-182-3/+3
|\
| * Merge docrailsPratik Naik2009-03-162-3/+3
| |
* | Introduce flush_output_buffer to append the buffer to the response body then ↵Jeremy Kemper2009-03-131-0/+8
|/ | | | 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-2/+3
| | | | | | 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-1/+3
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Prototype helpers support the onCreate callback.Jeremy Kemper2009-03-081-1/+1
| | | | [#1074 state:committed]
* submit_tag with confirmation and disable_with [#660 state:resolved]Lawrence Pit2009-03-071-2/+2
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure Active Record error related view helpers escape the message [#1280 ↵Dan Barry2009-03-071-2/+2
| | | | | | state:resolved] [Inge Jørgensen, Dan Barry] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Pass a custom form builder on to nested fields_for calls. [#2023 ↵Eloy Duran2009-02-271-49/+83
| | | | | | status:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Merge with docrailsPratik Naik2009-02-241-2/+4
|
* Updated rdoc to reflect changes to form option helpersTekin Suleyman2009-02-141-11/+61
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#837 state:committed]
* Enhanced form option helpers to add support for disabled option tags and use ↵Tekin Suleyman2009-02-141-4/+31
| | | | | | of anonymous functions for specifying selected and disabled values from collections. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Stops date select helpers from defaulting the selected date to today if ↵Sam Oliver2009-02-131-1/+1
| | | | | | | :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/+18
| | | | | | | | 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]
* Move checkbox hidden field before the actual checkbox so the actual value ↵Joshua Peek2009-02-101-1/+3
| | | | doesn't get clobbered [#1863 state:resolved]
* Added partial scoping to TranslationHelper#translate, so if you call ↵David Heinemeier Hansson2009-02-101-1/+19
| | | | translate('.foo') from the people/index.html.erb template, you'll actually be calling I18n.translate(people.index.foo) [DHH]
* Ruby 1.9 compat: removed redundant nested repeat operatorJoshua Peek2009-02-071-1/+1
|
* Allowing an object to be passed explicitly to a fields_for with ↵Pascal Ehlert2009-02-061-1/+2
| | | | | | | nested_attributes on one-to-one associations Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1849 state:committed]
* Eliminate unnecessary File.exist? when correct file extension given [#1879 ↵Andrew White2009-02-051-1/+2
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix a syntax error in current_page?() that was prevent matches against URL's ↵chris finne2009-02-051-2/+25
| | | | | | with multiple query parameters [#1868 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Remove double parenthesis in docsDavid Heinemeier Hansson2009-02-051-1/+1
|
* Add support for nested object forms to ActiveRecord and the helpers in ↵Eloy Duran2009-02-011-9/+187
| | | | | | | | ActionPack Signed-Off-By: Michael Koziarski <michael@koziarski.com> [#1202 state:committed]
* Added grouped_options_for_select helper method for wrapping option tags in ↵Jon Crawford2009-01-291-0/+56
| | | | | | 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-1/+1
| | | | | | 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-1/+2
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Improve i18n support for number_to_human_size helper:Yaroslav Markin2009-01-271-17/+28
| | | | | | | | | | | | * 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>
* Merge docrailsPratik Naik2009-01-181-50/+74
|
* Fix date_select within fields_for with an index [#1666 state:resolved] ↵Josh2009-01-161-5/+5
| | | | | | [Josh, Frederick Cheung] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* Cache AssetTag timestampsJoshua Peek2009-01-041-5/+31
|
* Revert to the good old days when AssetTag didn't cause anyone problemsJoshua Peek2009-01-021-325/+131
|
* Added :silence option to BenchmarkHelper#benchmark and turned log_level into ↵David Heinemeier Hansson2009-01-011-4/+25
| | | | a hash parameter and deprecated the old use [DHH]
* Fixed the AssetTagHelper cache to use the computed asset host as part of the ↵David Heinemeier Hansson2009-01-011-5/+5
| | | | cache key instead of just assuming the its a string [#1299 state:committed]
* Inline code comments for class_eval/module_eval [#1657 state:resolved]Xavier Noria2008-12-281-3/+7
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Use I18n for date/time select helpers prompt text [#561 state:resolved]Sam Oliver2008-12-221-6/+2
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Added prompt options to date helpers [#561 state:resolved]Sam Oliver2008-12-211-0/+79
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Remove observe_field :on option as prototype no longer supports it [#1088 ↵Frederick Cheung2008-12-211-11/+0
| | | | state:resolved]
* Merge docrailsPratik Naik2008-12-192-6/+14
|
* Explicitly require ERB Utils extensions from TagHelperJoshua Peek2008-12-091-1/+1
|
* Benchmark.msJeremy Kemper2008-12-091-3/+3
|
* Merge with docrailsPratik Naik2008-12-071-1/+1
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-12-032-5/+5
|\
| * Ensure ActionMailer doesn't blow up when a two argument proc is set for the ↵Tekin Suleyman2008-12-011-1/+1
| | | | | | | | | | | | | | asset host Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1394 state:committed]
| * allow options to be passed to email address auto generationAndrew Kaspick2008-12-011-4/+4
| | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1418 state:committed]
* | Unnecessary CGI requireJeremy Kemper2008-12-031-1/+0
|/
* Make sure #compute_public_path caching allows to return different results ↵Sven Fuchs2008-11-291-1/+1
| | | | | | for different given sources [#1471 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added the option to declare an asset_host as an object that responds to call ↵David Heinemeier Hansson2008-11-271-3/+11
| | | | (see http://github.com/dhh/asset-hosting-with-minimum-ssl for an example) [DHH]
* prototype and scripty helpers require jsonJoshua Peek2008-11-242-0/+2
|
* prefer autoloaded html scannerJoshua Peek2008-11-241-1/+0
|
* Autoload HTML::Document and sanitizersJeremy Kemper2008-11-232-20/+1
|