Skip to content

Commit

Permalink
comment typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joshsusser authored and tenderlove committed Mar 25, 2011
1 parent 7333f50 commit 65dce01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activerecord/lib/active_record/relation/finder_methods.rb
Expand Up @@ -123,7 +123,7 @@ def first(*args)
end
end

# Same as #first! but raises RecordNotFound if no record is returned
# Same as #first but raises RecordNotFound if no record is returned
def first!(*args)
self.first(*args) or raise RecordNotFound
end
Expand All @@ -142,7 +142,7 @@ def last(*args)
end
end

# Same as #last! but raises RecordNotFound if no record is returned
# Same as #last but raises RecordNotFound if no record is returned
def last!(*args)
self.last(*args) or raise RecordNotFound
end
Expand Down

0 comments on commit 65dce01

Please sign in to comment.