Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clarify grouped_options_for_select method API, add changelog entry | Carlos Antonio da Silva | 2012-05-19 | 1 | -14/+13 |
| | | | | | | | | | | | | Make the method API more clear by explicitly showing the expected arguments. This means that the options cannot be passed as second argument because we are not relying on extract_options! anymore, you are expected to give a selected key or `nil` if you want to pass options, as it is the last argument. Notice that this does not change the current method arguments contract available in 3.2, it just brings back the same functionality with the divider addition. | ||||
* | Document the usage of grouped_options_for_select with divider option | Rafael Mendonça França | 2012-05-16 | 1 | -1/+19 |
| | |||||
* | Make :prompt work as documented | Rafael Mendonça França | 2012-05-16 | 1 | -1/+8 |
| | |||||
* | Test deprecation and fix the documentation of grouped_options_for_select | Rafael Mendonça França | 2012-05-16 | 1 | -1/+4 |
| | |||||
* | Add separator argument to grouped_options_for_select | Greenie0506 | 2012-05-15 | 1 | -2/+17 |
| | | | | Change prompt to options hash in grouped_options_for_select | ||||
* | Removing ==Examples and last blank lines of docs from actionpack | Francesco Rodriguez | 2012-05-15 | 1 | -1/+0 |
| | |||||
* | Documentation fix in options_for_select helper. Fixed display errors caused ↵ | Rodrigo Pavano | 2012-05-01 | 1 | -9/+26 |
| | | | | by mixing Ruby and HTML code inside the same pre tag [ci skip] | ||||
* | add 'include_hidden' option to select tag, closes #5402 | Vasiliy Ermolovich | 2012-03-13 | 1 | -0/+2 |
| | |||||
* | Add documentation to object method of CollectionHelpers::Builder | Rafael Mendonça França | 2012-02-26 | 1 | -6/+6 |
| | |||||
* | refactor option_text_and_value and option_value_selected? methods | Vasiliy Ermolovich | 2012-02-21 | 1 | -10/+3 |
| | |||||
* | refactor time_zone_options_for_select | Vasiliy Ermolovich | 2012-02-21 | 1 | -7/+8 |
| | | | | | | | | | | | | | | | BTW, select works quite faster then find_all: require 'benchmark' n = [1]*100_000_000 Benchmark.bm do |x| x.report { n.select { |a| a > 1 } } x.report { n.find_all { |a| a > 1 } } end user system total real 7.590000 0.010000 7.600000 ( 7.927171) 9.650000 0.010000 9.660000 ( 9.634406) | ||||
* | refactor options_for_select | Vasiliy Ermolovich | 2012-02-20 | 1 | -7/+8 |
| | |||||
* | refactor grouped_options_for_select | Vasiliy Ermolovich | 2012-02-20 | 1 | -5/+5 |
| | |||||
* | Remove default class to collection_check_boxes and | Rafael Mendonça França | 2012-02-02 | 1 | -8/+8 |
| | | | | | | collection_radio_buttons [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Allow collection radio_buttons/check_boxes to access current text/value | Carlos Antonio da Silva | 2012-02-02 | 1 | -0/+14 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Add changelog, docs and guides entries | Carlos Antonio da Silva | 2012-02-02 | 1 | -17/+63 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Allow proc for value/text method in collection_select | Carlos Antonio da Silva | 2012-02-02 | 1 | -2/+6 |
| | | | | | | And options_from_collection_for_select as well. [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Move collection radio buttons / check boxes back to FormOptionsHelper | Carlos Antonio da Silva | 2012-02-02 | 1 | -0/+75 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Cleanup options helper methods a bit | Carlos Antonio da Silva | 2012-02-02 | 1 | -12/+12 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Refactor option groups to use content_tag | Carlos Antonio da Silva | 2012-02-02 | 1 | -4/+4 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Move collection_check_boxes and collection_radio_buttons to they our | Rafael Mendonça França | 2012-02-02 | 1 | -8/+0 |
| | | | | | | module [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Add collection_check_boxes helper | Carlos Antonio da Silva | 2012-02-02 | 1 | -0/+4 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | Create collection_radio_buttons helper | Carlos Antonio da Silva | 2012-02-02 | 1 | -0/+4 |
| | | | | [Carlos Antonio da Silva + Rafael Mendonça França] | ||||
* | 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 |
| |