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/activerecord | |
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/activerecord')
-rw-r--r-- | actionpack/test/activerecord/render_partial_with_record_identification_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/activerecord/render_partial_with_record_identification_test.rb b/actionpack/test/activerecord/render_partial_with_record_identification_test.rb index 0a596c7ae0..2a31f3be44 100644 --- a/actionpack/test/activerecord/render_partial_with_record_identification_test.rb +++ b/actionpack/test/activerecord/render_partial_with_record_identification_test.rb @@ -126,6 +126,7 @@ class RenderPartialWithRecordIdentificationController < ActionController::Base end class Game < Struct.new(:name, :id) + extend ActiveModel::Naming def to_param id.to_s end |