From 1087b3bb699eaac0662defe7aa71928d1b8a5f77 Mon Sep 17 00:00:00 2001 From: Josh Susser Date: Fri, 25 Mar 2011 09:41:06 -0700 Subject: [PATCH] comment typo fix --- .../lib/active_record/relation/finder_methods.rb | 4 ++-- 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 25e23a9..9d4c6d6 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 -- 1.7.4.1