diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-06-17 10:37:39 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-06-17 10:37:39 -0500 |
commit | 1c4d28ba314c8cdd0039becf3bc9e678219b8f46 (patch) | |
tree | 67a4b6db06cc9c26145de94f06f3fe8e1adf7953 /actionpack/test/controller/record_identifier_test.rb | |
parent | 85f2f34d5ec8ccdea4755740b810ac514d9f3dd9 (diff) | |
download | rails-1c4d28ba314c8cdd0039becf3bc9e678219b8f46.tar.gz rails-1c4d28ba314c8cdd0039becf3bc9e678219b8f46.tar.bz2 rails-1c4d28ba314c8cdd0039becf3bc9e678219b8f46.zip |
Move model naming into ActiveModel
Diffstat (limited to 'actionpack/test/controller/record_identifier_test.rb')
-rw-r--r-- | actionpack/test/controller/record_identifier_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/controller/record_identifier_test.rb b/actionpack/test/controller/record_identifier_test.rb index 12c1eaea69..28bc608d47 100644 --- a/actionpack/test/controller/record_identifier_test.rb +++ b/actionpack/test/controller/record_identifier_test.rb @@ -1,6 +1,8 @@ require 'abstract_unit' class Comment + extend ActiveModel::Naming + attr_reader :id def save; @id = 1 end def new_record?; @id.nil? end |