- 01 7月, 2017 1 次提交
-
-
由 Akira Matsuda 提交于
-
- 07 8月, 2016 1 次提交
-
-
由 Xavier Noria 提交于
The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
-
- 19 7月, 2016 1 次提交
-
-
由 claudiob 提交于
[ci skip] Just some english and `<tt>` tags.
-
- 28 6月, 2016 1 次提交
-
-
由 Marek 提交于
-
- 27 9月, 2015 1 次提交
-
-
由 Mehmet Emin İNAÇ 提交于
-
- 25 9月, 2015 1 次提交
-
-
由 Mauro George 提交于
This will avoid a error be raised when the only input on the form is the `collection_radio_buttons`.
-
- 30 7月, 2015 1 次提交
-
-
由 schneems 提交于
content_tag's first argument is will generate a string with an html tag so `:a` will generate: `<a></a>`. When this happens, the symbol is implicitly `to_s`-d so a new string is allocated. We can get around that by using a frozen string instead which This change buys us 74,236 bytes of memory and 1,855 fewer objects per request.
-
- 03 7月, 2015 1 次提交
-
-
由 Thomas Osborn 提交于
-
- 14 6月, 2015 1 次提交
-
-
由 Mauro George 提交于
[ci skip]
-
- 20 5月, 2015 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 03 5月, 2015 1 次提交
-
-
由 Mehmet Emin İNAÇ 提交于
-
- 13 3月, 2015 2 次提交
-
-
由 Kuldeep Aggarwal 提交于
-
由 Akshay Vishnoi 提交于
-
- 29 11月, 2014 1 次提交
-
-
由 Erik Michaels-Ober 提交于
-
- 09 8月, 2014 1 次提交
-
-
由 Hendy Tanata 提交于
[skip ci]
-
- 29 7月, 2014 1 次提交
-
-
由 Yves Senn 提交于
[ci skip] This fixes the broken code block rendering and indents the examples within the parameter list.
-
- 17 7月, 2014 1 次提交
-
-
由 Yves Senn 提交于
[Jonas Baumann & Yves Senn] The submitted params from a select with `multiple: true` look as follows: ``` {post: {category: [""]}} {post: {category: ["", "Category 1", "Category 2"]}} ``` This is a follow up to #1552.
-
- 31 3月, 2014 1 次提交
-
-
由 Laura Paredes 提交于
-
- 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 提交于
-