- 09 8月, 2012 1 次提交
-
-
由 David Heinemeier Hansson 提交于
Allow data attributes to be set as a first-level option for form_for, so you can write `form_for @record, data: { behavior: 'autosave' }` instead of `form_for @record, html: { data: { behavior: 'autosave' } }` *DHH*
-
- 06 8月, 2012 1 次提交
-
-
由 Xavier Noria 提交于
Selecting which key extensions to include in active_support/rails made apparent the systematic usage of Object#in? in the code base. After some discussion in https://github.com/rails/rails/commit/5ea6b0df9a36d033f21b52049426257a4637028d we decided to remove it and use plain Ruby, which seems enough for this particular idiom. In this commit the refactor has been made case by case. Sometimes include? is the natural alternative, others a simple || is the way you actually spell the condition in your head, others a case statement seems more appropriate. I have chosen the one I liked the most in each case.
-
- 03 8月, 2012 1 次提交
-
-
由 Xavier Noria 提交于
-
- 06 6月, 2012 1 次提交
-
-
由 Akira Matsuda 提交于
Module#instance_methods returns an Array of Symbols in Ruby >= 1.9 So this was not actually testing anything
-
- 05 6月, 2012 1 次提交
-
-
由 Yuki Nishijima 提交于
-
- 23 5月, 2012 1 次提交
-
-
由 Carlos Galdino 提交于
These tests check the values of 'min' and 'max' input attrs
-
- 22 5月, 2012 2 次提交
-
-
由 Carlos Galdino 提交于
The input types added are: - input[type="month"] - input[type="week"] - input[type="datetime"] - input[type="datetime-local"]
-
由 Carlos Galdino 提交于
-
- 18 5月, 2012 1 次提交
-
-
由 Alex Soulim 提交于
-
- 30 4月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
This fixes: * Boolean with inverted logic * Integer with inverted logic * BigDecimal with inverted logic Fixes #3995
-
- 29 4月, 2012 1 次提交
-
-
由 Piotr Sarnacki 提交于
closes #3341
-
- 25 4月, 2012 1 次提交
-
-
由 Jose and Yehuda 提交于
In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964
-
- 12 4月, 2012 1 次提交
-
-
由 Jorge Bejar 提交于
Add index method to FormBuilder. Useful when you use field_for and need to know the index number into the iteration.
-
- 01 4月, 2012 1 次提交
-
-
由 Alexey Vakhov 提交于
-
- 28 3月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
hash. Closes #2492 and #5615
-
- 27 3月, 2012 3 次提交
-
-
由 Andrey Samsonov 提交于
objectify_options method should be applied to the proper options arg. See explanation and example of the bug - https://github.com/kryzhovnik/rails_field_error_proc_bug_example
-
由 Carlos Antonio da Silva 提交于
Commit: 7a0cf2f5
-
由 Sergey Nartimov 提交于
-
- 23 3月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
Commit 56089ca9 introduced a backward incompatible change by changing the method signature of the FormBuilder. This brings back the same method signature warning in case someone gives a block to the builder. More info: https://github.com/rails/rails/commit/56089ca986c767763f29159c8de0aa1ebabfd4d2#commitcomment-1116166
-
- 14 3月, 2012 1 次提交
-
-
由 Sergey Nartimov 提交于
-
- 10 3月, 2012 1 次提交
-
-
由 Philip Arndt 提交于
Fixes #5324 by removing default size options from input:text and default cols and rows options from textarea.
-
- 28 2月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
Closes #393
-
- 27 2月, 2012 2 次提交
-
-
由 Rafael Mendonça França 提交于
variables in the form builder
-
由 Rafael Mendonça França 提交于
-
- 25 2月, 2012 1 次提交
-
-
由 Xavier Noria 提交于
uses PATCH for the forms of persisted records, and routes PATCH and PUT to the update action of resources
-
- 24 2月, 2012 1 次提交
-
-
由 Vasiliy Ermolovich 提交于
-
- 23 2月, 2012 1 次提交
-
-
由 David Lee 提交于
PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update.
-
- 12 2月, 2012 1 次提交
-
-
由 Olek Janiszewski 提交于
-
- 02 2月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
When the new html5 attribute :form is given to the check_box helper, it should be replicated to the hidden field as well. Closes #4848
-
- 01 2月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
[Carlos Antonio da Silva + Rafael Mendonça França]
-
- 27 1月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 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
-
- 17 1月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 07 1月, 2012 2 次提交
-
-
由 Sergey Nartimov 提交于
-
由 Damien Mathieu 提交于
-
- 06 1月, 2012 3 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
Fixed failing tests This reverts commit 8350ce97.
-
由 Tadas Tamošauskas 提交于
-
- 04 1月, 2012 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 11 12月, 2011 1 次提交
-
-
由 Will Farrington 提交于
This support is near-identical to the existing submit_tag support. Example: <%= form_for @post do |f| %> <%= f.button %> <% end %>
-