- 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.
-
- 24 5月, 2012 1 次提交
-
- 20 5月, 2012 1 次提交
-
-
由 Henrik Hodne 提交于
For future reference, this is the regex I used: ^\s*#\s*\n(?!\s*#). Replace with the first match, and voilà! Note that the regex matches a little bit too much, so you probably want to `git add -i .` and go through every single diff to check if it actually should be changed.
-
- 19 5月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
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.
-
- 17 5月, 2012 3 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
- 16 5月, 2012 1 次提交
-
-
由 Greenie0506 提交于
Change prompt to options hash in grouped_options_for_select
-
- 15 5月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 02 5月, 2012 1 次提交
-
-
由 Rodrigo Pavano 提交于
Documentation fix in options_for_select helper. Fixed display errors caused by mixing Ruby and HTML code inside the same pre tag [ci skip]
-
- 14 3月, 2012 1 次提交
-
-
由 Vasiliy Ermolovich 提交于
-
- 27 2月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
-