- 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 提交于
-
- 22 2月, 2012 2 次提交
-
-
由 Vasiliy Ermolovich 提交于
-
由 Vasiliy Ermolovich 提交于
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)
-
- 21 2月, 2012 2 次提交
-
-
由 Vasiliy Ermolovich 提交于
-
由 Vasiliy Ermolovich 提交于
-
- 03 2月, 2012 4 次提交
-
-
由 Rafael Mendonça França 提交于
collection_radio_buttons [Carlos Antonio da Silva + Rafael Mendonça França]
-
由 Carlos Antonio da Silva 提交于
[Carlos Antonio da Silva + Rafael Mendonça França]
-
由 Carlos Antonio da Silva 提交于
[Carlos Antonio da Silva + Rafael Mendonça França]
-
由 Carlos Antonio da Silva 提交于
And options_from_collection_for_select as well. [Carlos Antonio da Silva + Rafael Mendonça França]
-
- 02 2月, 2012 6 次提交
-
-
由 Carlos Antonio da Silva 提交于
[Carlos Antonio da Silva + Rafael Mendonça França]
-
由 Carlos Antonio da Silva 提交于
[Carlos Antonio da Silva + Rafael Mendonça França]
-
由 Carlos Antonio da Silva 提交于
[Carlos Antonio da Silva + Rafael Mendonça França]
-
由 Rafael Mendonça França 提交于
module [Carlos Antonio da Silva + Rafael Mendonça França]
-
由 Carlos Antonio da Silva 提交于
[Carlos Antonio da Silva + Rafael Mendonça França]
-
由 Carlos Antonio da Silva 提交于
[Carlos Antonio da Silva + Rafael Mendonça França]
-
- 01 2月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 25 1月, 2012 1 次提交
-
-
由 Rohit Arondekar 提交于
-
- 18 1月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
ActionView::Helpers
-
- 17 1月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
-