aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorJosh Susser <josh@hasmanythrough.com>2011-03-25 09:41:06 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2011-03-25 12:28:37 -0700
commit65dce01091ec88f3485ccc26f8799c609b91e7cc (patch)
treed2ac6be56af5cd9d44dee9610f2a345b2ee9d402 /activerecord
parent7333f50abce3ad6c83d13c66b85e371e7951c84d (diff)
downloadrails-65dce01091ec88f3485ccc26f8799c609b91e7cc.tar.gz
rails-65dce01091ec88f3485ccc26f8799c609b91e7cc.tar.bz2
rails-65dce01091ec88f3485ccc26f8799c609b91e7cc.zip
comment typo fix
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/relation/finder_methods.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/relation/finder_methods.rb b/activerecord/lib/active_record/relation/finder_methods.rb
index 25e23a9d55..9d4c6d60f5 100644
--- a/activerecord/lib/active_record/relation/finder_methods.rb
+++ b/activerecord/lib/active_record/relation/finder_methods.rb
@@ -123,7 +123,7 @@ module ActiveRecord
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
@@ -142,7 +142,7 @@ module ActiveRecord
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