- 28 8月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
This makes the use of passwords secure by default if you want to render the value of the password_field you have to do for instance f.password_field(:password, :value => @user.password) # => <input type=password id=user_password name=user[password] value=#{@user.password} />
-
- 27 8月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
Make InstanceTagMethods#value_before_type_cast raise if the model don't respond to attr_before_type_cast or attr method [#3374] [#5471 state:committed]
-
- 19 8月, 2010 1 次提交
-
- 14 8月, 2010 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 13 8月, 2010 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 12 8月, 2010 1 次提交
-
-
由 wycats 提交于
-
- 10 8月, 2010 1 次提交
-
-
由 wycats 提交于
-
- 02 8月, 2010 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
Before: f.label :title, nil, :class => 'title' After : f.label :title, :class => 'title' [#5267 state:committed] Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Santiago Pastorino 提交于
[#3374 state:committed]
-
- 13 7月, 2010 1 次提交
-
-
由 Miles Egan 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 30 6月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 28 6月, 2010 1 次提交
-
-
由 wycats 提交于
* Specify accept-charset on all forms. All recent browsers, as well as IE5+, will use the encoding specified for form parameters * Unfortunately, IE5+ will not look at accept-charset unless at least one character in the form's values is not in the page's charset. Since the user can override the default charset (which Rails sets to UTF-8), we provide a hidden input containing a unicode character, forcing IE to look at the accept-charset. * Now that the vast majority of web input is UTF-8, we set the inbound parameters to UTF-8. This will eliminate many cases of incompatible encodings between ASCII-8BIT and UTF-8. * You can safely ignore params[:_snowman_] TODO: * Validate inbound text to confirm it is UTF-8 * Combine the whole_form implementations in form_helper_test and form_tag_helper_test
-
- 23 6月, 2010 1 次提交
-
-
由 Jeff Dean 提交于
make text_field and hidden_field omit the value attribute if the developer explicitly passes in :value => nil [#4839 state:resolved] Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
- 22 6月, 2010 1 次提交
-
-
由 Neeraj Singh 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 19 6月, 2010 1 次提交
-
-
由 David Genord II 提交于
[#4902 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 20 5月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 16 5月, 2010 2 次提交
-
-
由 Hussein Morsy 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Jeff Dean 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 15 5月, 2010 1 次提交
-
-
由 Stephen Celis 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 03 5月, 2010 1 次提交
-
-
由 Lawrence Pit 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 12 4月, 2010 1 次提交
-
-
由 Ryan Bates 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
- 10 4月, 2010 2 次提交
-
-
由 José Valim 提交于
Remove input, form, error_messages_for and error_message_on from the framework. If you think you will miss them, feel free to use the dynamic_form plugin available at http://github.com/rails/dynamic_form
-
由 Santiago Pastorino 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 06 4月, 2010 4 次提交
-
-
由 José Valim 提交于
-
由 David Heinemeier Hansson 提交于
Added all the new HTML5 form types as individual form tag methods (search, url, number, etc) (Closes #3646) [Stephen Celis]
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
- 03 4月, 2010 1 次提交
-
-
由 wycats 提交于
Refactored url_for in AV to have its own instances of the helpers instead of proxying back to the controller. This potentially allows for more standalone usage of AV. It also kicked up a lot of dust in the tests, which were mocking out controllers to get this behavior. By moving it to the view, it made a lot of the tests more standalone (a win)
-
- 10 3月, 2010 1 次提交
-
-
由 wycats 提交于
-
- 21 2月, 2010 1 次提交
-
-
由 José Valim 提交于
Require persisted? in ActiveModel::Lint and remove new_record? and destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not.
-
- 07 2月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 02 2月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 01 2月, 2010 2 次提交
-
-
由 Yehuda Katz 提交于
For performance reasons, you can no longer call html_safe! on Strings. Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe.
-
由 Stephen St. Martin 提交于
-
- 31 1月, 2010 2 次提交
-
-
由 Joshua Peek 提交于
-
由 Joshua Peek 提交于
This reverts commit 3aa1ea1a, reversing changes made to 2c12a713. Conflicts: actionpack/lib/action_view/helpers/javascript_helper.rb actionpack/lib/action_view/helpers/url_helper.rb actionpack/test/template/url_helper_test.rb
-
- 28 1月, 2010 1 次提交
-
-
由 Erik St. Martin 提交于
Removed all helpers from PrototypeHelper that are implemented in AjaxHelper. Modified tests that extended with PrototypeHelper to now extend using AjaxHelper. AjaxHelper is now included by default in view helper
-
- 15 1月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 14 1月, 2010 2 次提交
-
-
由 Stephen Celis 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-