Skip to content
Browse files

No need to pass self as parameter here.

  • Loading branch information...
1 parent 21cb1d4 commit 232e56ce872383ef1805d1a7ef0fbf5475e5cfb3 @josevalim josevalim committed Oct 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/test/models/track_back.rb
View
2 activemodel/test/models/track_back.rb
@@ -1,7 +1,7 @@
class Post
class TrackBack
def to_model
- NamedTrackBack.new(self)
+ NamedTrackBack.new
end
end

0 comments on commit 232e56c

Please sign in to comment.
Something went wrong with that request. Please try again.