diff options
author | José Valim <jose.valim@gmail.com> | 2010-10-04 22:32:29 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-10-04 22:32:29 +0200 |
commit | 232e56ce872383ef1805d1a7ef0fbf5475e5cfb3 (patch) | |
tree | b4082434c2827c386d0a7c143553244b15139be4 /activemodel/test/models | |
parent | 21cb1d40b9c57ab814c69d01a242b50e27e8283b (diff) | |
download | rails-232e56ce872383ef1805d1a7ef0fbf5475e5cfb3.tar.gz rails-232e56ce872383ef1805d1a7ef0fbf5475e5cfb3.tar.bz2 rails-232e56ce872383ef1805d1a7ef0fbf5475e5cfb3.zip |
No need to pass self as parameter here.
Diffstat (limited to 'activemodel/test/models')
-rw-r--r-- | activemodel/test/models/track_back.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/models/track_back.rb b/activemodel/test/models/track_back.rb index 545acd1655..768c96ecf0 100644 --- a/activemodel/test/models/track_back.rb +++ b/activemodel/test/models/track_back.rb @@ -1,7 +1,7 @@ class Post class TrackBack def to_model - NamedTrackBack.new(self) + NamedTrackBack.new end end |