- 02 12月, 2013 1 次提交
-
-
由 Akshay Vishnoi 提交于
-
- 25 11月, 2013 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
This reverts commit f4a5a9ea, reversing changes made to 7ccb4821. Reason: The logic is different, the first call to #option_value_selected? is for the :selected option (the argument is the "selected" variable), the second call is for the :disabled option (the argument is the "disabled" variable).
-
由 Akshay Vishnoi 提交于
-
- 23 9月, 2013 2 次提交
-
-
由 Rafael Mendonça França 提交于
[ci skip]
-
由 Bogdan Gusiev 提交于
Example: = select(report, "campaign_ids") do - available_campaigns.each do |c| %option{:data => {:tags => c.tags.to_json}, :value => c.id}= c.name
-
- 07 8月, 2013 1 次提交
-
-
由 Xavier Noria 提交于
-
- 23 7月, 2013 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
content tag already knows which tags are boolean and the values that should generate them when a truthy value is passed, so leave this logic for it instead of duplicating when generating options tags.
-
由 Carlos Antonio da Silva 提交于
-
- 22 7月, 2013 1 次提交
-
-
由 Karunakar (Ruby) 提交于
-
- 20 7月, 2013 1 次提交
-
-
由 Vasiliy Ermolovich 提交于
-
- 28 6月, 2013 1 次提交
-
-
由 kennyj 提交于
-
- 27 6月, 2013 1 次提交
-
-
由 Artyom 提交于
-
- 26 6月, 2013 1 次提交
-
-
由 mariozig 提交于
-
- 20 6月, 2013 1 次提交
-
-
由 Piotr Sarnacki 提交于
-
- 07 5月, 2013 1 次提交
-
-
由 Vipul A M 提交于
-
- 11 4月, 2013 1 次提交
-
-
由 Vasiliy Ermolovich 提交于
as the last element of the array
-
- 31 3月, 2013 1 次提交
-
-
由 Vipul A M 提交于
-
- 28 3月, 2013 1 次提交
-
-
由 Brian McManus 提交于
A previous commit swapped out a call to select for a call to grep in time_zone_options_for_select. This behavior actually causes the regexp priority option to stop working. ActiveSupport::TimeZone overrides the =~ operator which is what the select block was using previously. Enumerable#grep checks pattern === element and in this case that would be /US/ === ActiveSupport::TimeZone which does not work because ActiveSupport::TimeZone does not supply an implicit converting to_str method, only an explicit to_s method. It would be impossible to provide a to_str method that behaves identically to the =~ method provided on ActiveSupport::TimeZone so the only option is to revert back to using select with =~.
-
- 22 2月, 2013 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
It's faster, and doesn't force us to dup the timezones array.
-
- 20 2月, 2013 1 次提交
-
-
由 Brian McManus 提交于
Previous implementation of time_zone_options_for_select did not dup the ActiveSupport::TimeZone.all array. When :priority_zones were provided the method would reject! the zones from the memoized TimeZones array thus affecting future requests to the server. Essentially whatever zones were specified as :priority_zones would show up for the first request but then disappear from the time zone options on future requests.
-
- 01 2月, 2013 1 次提交
-
-
由 Akira Matsuda 提交于
-
- 27 1月, 2013 1 次提交
-
-
由 Xavier Noria 提交于
-
- 18 1月, 2013 1 次提交
-
-
由 Thiago Pinto 提交于
-
- 13 1月, 2013 1 次提交
-
-
由 José Mota 提交于
the provided block. In the case of having a form_for method being called, the block for each collection would not be passed and thus the result expected was always the same. This patch passes the block to the original method like it would be assumed.
-
- 04 1月, 2013 1 次提交
-
-
- 14 12月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
I was trying to use those files without Rails and that require was missing.
-
- 02 12月, 2012 1 次提交
-
-
由 Alvaro Pereyra 提交于
-
- 28 11月, 2012 1 次提交
-
-
由 Sergey Kojin 提交于
-
- 09 11月, 2012 1 次提交
-
- 30 10月, 2012 1 次提交
-
-
由 Alexey Gaziev 提交于
-
- 29 10月, 2012 3 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Nikita Afanasenko 提交于
It's sometimes hard to quickly find where deprecated call was performed, especially in case of migrating between Rails versions. So this is an attempt to improve the call stack part of the warning message by providing caller explicitly.
-
由 AvnerCohen 提交于
-
- 16 8月, 2012 1 次提交
-
-
由 Evan Farrar 提交于
Make doc output in grouped_options_for_select divider example match actual output. The options groups were in backwards order of actual.
-
- 12 8月, 2012 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
We can avoid creating extra hashes with #merge, and use #merge! instead.
-
由 Carlos Antonio da Silva 提交于
Further simplify the option_html_attributes method after the changes introduced in dacbcbe5 to not escape the html options here (since they're going to be escaped down the chain in content tag).
-
- 03 8月, 2012 1 次提交
-
-
由 Xavier Noria 提交于
-
- 22 7月, 2012 1 次提交
-
-
由 Vasiliy Ermolovich 提交于
we don't need to escape values in this method as we pass these html attributes to `tag_options` method that handle escaping as well. it fixes the case when we want to pass html5 data options
-
- 11 7月, 2012 1 次提交
-
-
由 Rusty Geldmacher 提交于
When a select tag is created for a field with errors, then the inserted options will errantly have a <div class="field_with_errors"> wrapping them.
-