Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Call html_escape in ERB::Util module and don't mix it in in the helpers | Santiago Pastorino | 2010-10-18 | 1 | -6/+6 |
| | |||||
* | fixing an error in the rdoc | Aaron Patterson | 2010-10-15 | 1 | -1/+1 |
| | |||||
* | removing useless code | Aaron Patterson | 2010-09-29 | 1 | -1/+0 |
| | |||||
* | convert inject to map + join | Aaron Patterson | 2010-09-28 | 1 | -5/+5 |
| | |||||
* | select tags coerce the :selected option, options to strings before ↵ | Subba Rao Pasupuleti | 2010-08-15 | 1 | -9/+12 |
| | | | | | | comparison [#5056 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Making time_zone_options_for_select return a html_safe string | Mikel Lindsaar | 2010-08-15 | 1 | -1/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -8/+8 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | removing a lolinject | Aaron Patterson | 2010-08-13 | 1 | -2/+2 |
| | |||||
* | select :include_blank or :prompt should return escaped string [#5099 ↵ | Ivan Torres | 2010-07-18 | 1 | -3/+3 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge remote branch 'rails/master' | Xavier Noria | 2010-06-20 | 1 | -1/+1 |
|\ | | | | | | | | | Conflicts: actionpack/lib/abstract_controller/base.rb | ||||
| * | option_groups_from_collection_for_select should return HTML-safe string ↵ | Wincent Colaiuta | 2010-06-19 | 1 | -1/+1 |
| | | | | | | | | | | | | [#4879 state:resolved] Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | | Adds title and description where needed. | Rizwan Reza | 2010-06-16 | 1 | -0/+1 |
| | | |||||
* | | Fix a bunch of minor spelling mistakes | Evgeniy Dolzhenko | 2010-06-11 | 1 | -2/+2 |
|/ | |||||
* | added support for html attributes in options_for_select [#2165] | pleax | 2010-05-16 | 1 | -2/+25 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Mark the result of grouped_options_for_select as HTML safe [#4322 ↵ | Kieran Pilkington | 2010-04-16 | 1 | -1/+1 |
| | | | | | | state:committed] Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | Stray carrier returns | David Heinemeier Hansson | 2010-04-09 | 1 | -2/+0 |
| | |||||
* | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 1 | -0/+1 |
| | |||||
* | Merge remote branch 'mainstream/master' | Pratik Naik | 2010-03-12 | 1 | -3/+4 |
|\ | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb railties/lib/rails/configuration.rb railties/lib/rails/log_subscriber.rb | ||||
| * | Make form helpers work with <%= | wycats | 2010-03-09 | 1 | -0/+2 |
| | | |||||
| * | content_tag should escape its input | Bruno Michel | 2010-02-14 | 1 | -3/+2 |
| | | | | | | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local> | ||||
* | | Merge remote branch 'mainstream/master' | Pratik Naik | 2010-02-01 | 1 | -1/+1 |
|\| | |||||
| * | For performance reasons, you can no longer call html_safe! on Strings. ↵ | Yehuda Katz | 2010-01-31 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe. | ||||
* | | removes unnecessary curlies in collection_select rdoc | Xavier Noria | 2010-01-28 | 1 | -1/+1 |
|/ | |||||
* | Use helpers.label instead of views.labels. | José Valim | 2010-01-07 | 1 | -1/+1 |
| | |||||
* | Switch to on-by-default XSS escaping for rails. | Michael Koziarski | 2009-10-08 | 1 | -1/+1 |
| | | | | | | | | | | | | This consists of: * String#html_safe! a method to mark a string as 'safe' * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it * Calls to String#html_safe! throughout the rails helpers * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB) * New ERB implementation based on erubis which uses a SafeBuffer instead of a String Hat tip to Django for the inspiration. | ||||
* | I18n: use I18n for select helpers' prompt text | Akira Matsuda | 2009-08-26 | 1 | -1/+2 |
| | | | | | | [#2252 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Revert "I18n: use I18n for select helpers' prompt text" | Jeremy Kemper | 2009-08-26 | 1 | -2/+1 |
| | | | | | | | | Broke CI. [#2252 state:open] This reverts commit adedf72821a5623227ce91e6b298838e692477e4. | ||||
* | I18n: use I18n for select helpers' prompt text | Akira Matsuda | 2009-08-26 | 1 | -1/+2 |
| | | | | | | [#2252 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Introduce grouped_collection_select helper. | codeape | 2009-08-09 | 1 | -0/+67 |
| | | | | | | [#1249 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 1 | -21/+21 |
| | |||||
* | Allow strings to be sent as collection to select. | José Valim | 2009-05-15 | 1 | -0/+2 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Updated rdoc to reflect changes to form option helpers | Tekin Suleyman | 2009-02-14 | 1 | -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 Suleyman | 2009-02-14 | 1 | -4/+31 |
| | | | | | | of anonymous functions for specifying selected and disabled values from collections. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Added grouped_options_for_select helper method for wrapping option tags in ↵ | Jon Crawford | 2009-01-29 | 1 | -0/+56 |
| | | | | | | optgroups. [#977 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure selected option is not ignored for collection_select. [#1037 ↵ | Daniel Rodríguez Troitiño | 2009-01-28 | 1 | -1/+2 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Merge docrails | Pratik Naik | 2008-12-19 | 1 | -5/+13 |
| | |||||
* | Remove the country_select helper. | Michael Koziarski | 2008-09-18 | 1 | -3/+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 | ||||
* | moving country helpers from form_options_helper to form_country_helper again | Sven Fuchs | 2008-07-16 | 1 | -74/+1 |
| | |||||
* | Ensure :index works with fields_for select methods. [#518 state:resolved] | rsl | 2008-07-14 | 1 | -4/+4 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Remove unused local_binding option to InstanceTag's Constructor | Michael Koziarski | 2008-07-03 | 1 | -4/+4 |
| | |||||
* | Fix indentation and update changelogs for previous commit | gbuesing | 2008-06-29 | 1 | -2/+2 |
| | |||||
* | Added support for regexp matching of priority zones in time_zone_select ↵ | Ernie Miller | 2008-06-29 | 1 | -2/+9 |
| | | | | [#195 state:resolved] | ||||
* | TimeZone -> ActiveSupport::TimeZone. [#387 state:resolved] | Ruy Asan | 2008-06-11 | 1 | -2/+2 |
| | |||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 1 | -21/+19 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | time_zone_select docs: explain priority zones option. Add example showing a ↵ | gbuesing | 2008-05-18 | 1 | -0/+8 |
| | | | | custom set of priority zones. | ||||
* | Improve documentation coverage and markup | Xavier Noria | 2008-05-02 | 1 | -2/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Docfixes (closes #11356, #11172, #10523) | David Heinemeier Hansson | 2008-03-20 | 1 | -0/+15 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add :default option to time_zone_select. Closes #10590. | Jeremy Kemper | 2007-12-21 | 1 | -1/+12 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Remove Great Britain from the Country select helper to ensure consistency ↵ | Michael Koziarski | 2007-12-05 | 1 | -2/+1 |
| | | | | | | with iso 3166's long_names. Closes #6872 [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8277 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add 'disabled' attribute to <OPTION> separators used in time zone and ↵ | Rick Olson | 2007-12-04 | 1 | -2/+2 |
| | | | | | | country selects. Closes #10354 [hasmanyjosh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8267 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |