aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/record_identifier_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-06-17 10:37:39 -0500
committerJoshua Peek <josh@joshpeek.com>2009-06-17 10:37:39 -0500
commit1c4d28ba314c8cdd0039becf3bc9e678219b8f46 (patch)
tree67a4b6db06cc9c26145de94f06f3fe8e1adf7953 /actionpack/test/controller/record_identifier_test.rb
parent85f2f34d5ec8ccdea4755740b810ac514d9f3dd9 (diff)
downloadrails-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.rb2
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