- 08 6月, 2015 1 次提交
-
-
由 Grey Baker 提交于
`Tags::Base#select_content_tag`. Previously, passing a falsey value to `include_blank` would be ignored if the field was required, and a blank line would still be inserted. The following will now raise instead of quietly failing: `select("post", "category", %w(a required field), { include_blank: false }, required: 'required')`
-
- 11 2月, 2015 1 次提交
-
-
由 Bogdan Gusiev 提交于
-
- 15 1月, 2015 3 次提交
-
-
由 Sean Griffin 提交于
While we don't want to change the form input when validations fail, blindly using `_before_type_cast` will cause the input to display the wrong data for any type which does additional work on database values.
-
由 Sean Griffin 提交于
This reverts commit 787e22bb.
-
由 Sean Griffin 提交于
We should never be ignoring valuable information that the types may need to give us. The reason that it originally used `_before_type_cast` is unclear, but appears to date back long enough that the reasons may not be relevant today. There is only one test that asserts that it uses the before type cast version, but it gives no context as to why and uses a mock which does not simulate the real world. Fixes #18523.
-
- 01 11月, 2014 1 次提交
-
-
由 Tobias Pfeiffer 提交于
* use public_send instead of send to avoid calling private methods in form helpers
-
- 23 9月, 2013 1 次提交
-
-
由 Bogdan Gusiev 提交于
-
- 20 6月, 2013 1 次提交
-
-
由 Piotr Sarnacki 提交于
-
- 06 4月, 2013 1 次提交
-
-
由 Ryan McGeary 提交于
If a file field tag is passed the multiple option, it is turned into an array field (appending "[]"), but if the file field is passed an explicit name as an option, leave the name alone (do not append "[]"). Fixes #9830
-
- 05 4月, 2013 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 09 3月, 2013 1 次提交
-
-
由 Olek Janiszewski 提交于
If an explicit name has been given and it already ends with "[]" Before: select(:category, [], {}, multiple: true, name: "post[category][]") # => <select name="post[category][][]" ...> After: select(:category, [], {}, multiple: true, name: "post[category][]") # => <select name="post[category][]" ...>
-
- 03 11月, 2012 1 次提交
-
-
When you have an explicit index set, then when you build an input tag with :multiple => true, it doesn't add [] to the end of its name, although it should.
-
- 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.
-
- 17 5月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 13 5月, 2012 4 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
and display size 1 and not multiple attribute, Fixes #5908
-
- 07 4月, 2012 1 次提交
-
-
由 Sergey Nartimov 提交于
-
- 14 3月, 2012 1 次提交
-
-
由 Vasiliy Ermolovich 提交于
-
- 10 3月, 2012 1 次提交
-
-
由 Philip Arndt 提交于
Fixes #5324 by removing default size options from input:text and default cols and rows options from textarea.
-
- 26 2月, 2012 1 次提交
-
-
由 Vasiliy Ermolovich 提交于
-
- 24 2月, 2012 1 次提交
-
-
由 Vasiliy Ermolovich 提交于
-
- 21 2月, 2012 1 次提交
-
-
由 Sergey Nartimov 提交于
-
- 12 2月, 2012 1 次提交
-
-
由 Olek Janiszewski 提交于
-
- 02 2月, 2012 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
* Extract value sanitization from default name and id method and new collection helpers; * No need to sanitize value in default name and id always; * Improve value_before_type_cast to avoid concating the same method name string twice. [Carlos Antonio da Silva + Rafael Mendonça França]
-
由 Rafael Mendonça França 提交于
[Carlos Antonio da Silva + Rafael Mendonça França]
-
- 23 1月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
Raise a better error if anyone wants to create your own ActionView::Helpers::Tags::Base child and do not implement the render method
-
- 18 1月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 17 1月, 2012 7 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-