From 99b6cf538145fb34c08f81a6fc495e7fbb0510ae Mon Sep 17 00:00:00 2001 From: Sean Griffin Date: Wed, 14 Jan 2015 16:44:06 -0700 Subject: Revert "Don't use the `_before_type_cast` version of attributes in the form" This reverts commit 787e22bb491bd8c36db1e9734261c4ce02c5c5fd. --- actionview/test/template/form_helper_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionview/test') diff --git a/actionview/test/template/form_helper_test.rb b/actionview/test/template/form_helper_test.rb index f766cff675..fff1e1e572 100644 --- a/actionview/test/template/form_helper_test.rb +++ b/actionview/test/template/form_helper_test.rb @@ -99,7 +99,7 @@ class FormHelperTest < ActionView::TestCase }.new end def @post.to_key; [123]; end - def @post.id; 123; end + def @post.id_before_type_cast; 123; end def @post.to_param; '123'; end @post.persisted = true -- cgit v1.2.3