mirror of
https://github.com/github/rails.git
synced 2026-01-10 07:07:54 -05:00
No need to pass self as parameter here.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class Post
|
||||
class TrackBack
|
||||
def to_model
|
||||
NamedTrackBack.new(self)
|
||||
NamedTrackBack.new
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user