Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove eval calls, use send.. eval is evil | Carlos Antonio da Silva | 2012-01-31 | 1 | -3/+3 |
| | |||||
* | remove extra 'the' | Rohit Arondekar | 2012-01-25 | 1 | -1/+1 |
| | |||||
* | Do not need of ActionView::Helpers scope since we are inside | Rafael Mendonça França | 2012-01-17 | 1 | -4/+4 |
| | | | | ActionView::Helpers | ||||
* | Extract TimeZoneSelect | Rafael Mendonça França | 2012-01-17 | 1 | -34/+1 |
| | |||||
* | Extract GroupedCollectionSelect | Rafael Mendonça França | 2012-01-17 | 1 | -7/+1 |
| | |||||
* | Extract CollectionSelect | Rafael Mendonça França | 2012-01-17 | 1 | -9/+1 |
| | |||||
* | Extract Select | Rafael Mendonça França | 2012-01-17 | 1 | -18/+1 |
| | |||||
* | Whitespaces :scissors: | Rafael Mendonça França | 2012-01-05 | 1 | -5/+4 |
| | |||||
* | Refactor extract_selected_and_disabled | Rafael Mendonça França | 2012-01-05 | 1 | -1/+2 |
| | |||||
* | Change more Array.wrap to Kernel#Array | Rafael Mendonça França | 2012-01-05 | 1 | -2/+2 |
| | |||||
* | Check for response to `#last` instead of `#first`. | Brian Rose | 2011-12-20 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Ensure option for select helper responds to `#first` before comparison. | Brian Rose | 2011-12-20 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | scumbag 1.8: strings are enumerable :'( | Aaron Patterson | 2011-10-26 | 1 | -1/+1 |
| | |||||
* | properly handle lists of lists. Thanks @adrianpike for reporting! | Aaron Patterson | 2011-10-25 | 1 | -1/+6 |
| | |||||
* | just check to see that the first item in the list is an array | Aaron Patterson | 2011-10-07 | 1 | -1/+1 |
| | |||||
* | Improve performance and memory usage for options_for_select with Ruby 1.8.7 | Christos Zisopoulos | 2011-07-27 | 1 | -2/+2 |
| | |||||
* | Grouped select helper | Andrew Radev | 2011-07-11 | 1 | -2/+12 |
| | | | | FormBuilder#select now works with a nested data structure. | ||||
* | Select tag helpers: remove some code dups | Bogdan Gusiev | 2011-06-17 | 1 | -25/+10 |
| | |||||
* | Fixing select[multiple] html specification problem. | Bogdan Gusiev | 2011-06-08 | 1 | -6/+37 |
| | | | | Generating hidden input with same name before each multiple select | ||||
* | Added missing quote in grouped_options_for_select example | diego | 2011-05-26 | 1 | -1/+1 |
| | |||||
* | Remove extra white spaces on ActionPack docs. | Sebastian Martinez | 2011-05-23 | 1 | -4/+4 |
| | |||||
* | Follow code conventions on docs | Sebastian Martinez | 2011-05-10 | 1 | -2/+2 |
| | |||||
* | Improve select helpers by allowing a selected value of false. This is ↵ | John Allison | 2011-01-09 | 1 | -1/+1 |
| | | | | useful when using a select helper with a boolean attribute, and the attribute is false. (e.g. f.select :allow_comments) | ||||
* | 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. |