aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add i18n for number_to_human_size() helper storage units. Translation key is ↵Yaroslav Markin2008-11-231-4/+3
| | | | | | | | number.human.storage_units. [#1448 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* need to make sure the asset type is cached with it in Cache.. name is ↵Aaron Batalion2008-11-191-2/+2
| | | | | | sufficient, not self Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fixed asset host to not cache objects [#1419 state:resolved]Aaron Batalion2008-11-191-29/+35
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Register 'checked' as an HTML boolean attribute.Hongli Lai (Phusion)2008-11-181-1/+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>
* Remove duplicate distribution of prototype and scriptaculous.Michael Koziarski2008-11-184-7384/+0
| | | | This was previously needed by define_javascript_functions which has been removed for a while.
* Remove mention of long-dead define_javascript_functionsMichael Koziarski2008-11-181-3/+0
|
* Update Prototype to 1.6.0.3 and update script.aculo.us to 1.8.2Thomas Fuchs2008-11-184-520/+628
|
* use :en as a default locale (in favor of :en-US)Sven Fuchs2008-11-181-1/+1
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fixed RedCloth and BlueCloth shouldn't preload. Instead just assume that ↵David Heinemeier Hansson2008-11-171-81/+69
| | | | they're available if you want to use textilize and markdown and let autoload require them [DHH]
* auto_link helper: add intelligent ending closing bracket handling. add new ↵Mislav Marohnić2008-11-151-9/+13
| | | | | | | 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-26/+20
| | | | 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-131-4/+6
| | | | omitting the attribute, if the associated option is false but not nil.
* Check whether last arg is a Hash instead of duck-typing against []Jeremy Kemper2008-11-071-4/+9
|
* auto_link view helper was failing on URLs with colons after a query paramRich Manalang2008-11-071-2/+2
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1341 state:committed]
* Fixed that FormTagHelper generates illegal html if name contains e.g. square ↵Vladimir Dobriakov2008-11-041-4/+10
| | | | | | 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-2/+2
| | | | | | 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>
* Merge with docrailsPratik Naik2008-11-021-5/+5
|
* A little less hokus pokusDavid Heinemeier Hansson2008-10-281-5/+4
|
* modified current_page? to ignore extra parameters unless specified in optionsErik Andrejko2008-10-261-3/+14
| | | | | 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-1/+1
| | | | Goldwasser) [#1265 status:committed]