aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2015-01-14 16:44:06 -0700
committerSean Griffin <sean@thoughtbot.com>2015-01-14 16:44:06 -0700
commit99b6cf538145fb34c08f81a6fc495e7fbb0510ae (patch)
treea55920155a6f7301cf4250f8589faf7c46b27cce /actionview/test
parent787e22bb491bd8c36db1e9734261c4ce02c5c5fd (diff)
downloadrails-99b6cf538145fb34c08f81a6fc495e7fbb0510ae.tar.gz
rails-99b6cf538145fb34c08f81a6fc495e7fbb0510ae.tar.bz2
rails-99b6cf538145fb34c08f81a6fc495e7fbb0510ae.zip
Revert "Don't use the `_before_type_cast` version of attributes in the form"
This reverts commit 787e22bb491bd8c36db1e9734261c4ce02c5c5fd.
Diffstat (limited to 'actionview/test')
-rw-r--r--actionview/test/template/form_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
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