aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation.rb
diff options
context:
space:
mode:
authorOscar Del Ben <oscar@oscardelben.com>2012-07-19 11:16:02 -0700
committerOscar Del Ben <oscar@oscardelben.com>2012-07-19 11:16:02 -0700
commit11d488dd7a5adf1c5c5044ee2cdd96e127e67cd4 (patch)
tree6eb3013e18f10323060948230c894a8e36ee5944 /activerecord/lib/active_record/relation.rb
parent69879667dcf4494915f1b9d826f17856bff11887 (diff)
downloadrails-11d488dd7a5adf1c5c5044ee2cdd96e127e67cd4.tar.gz
rails-11d488dd7a5adf1c5c5044ee2cdd96e127e67cd4.tar.bz2
rails-11d488dd7a5adf1c5c5044ee2cdd96e127e67cd4.zip
Fix typos
Diffstat (limited to 'activerecord/lib/active_record/relation.rb')
-rw-r--r--activerecord/lib/active_record/relation.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb
index cc03ebf5d6..3095580b66 100644
--- a/activerecord/lib/active_record/relation.rb
+++ b/activerecord/lib/active_record/relation.rb
@@ -75,7 +75,7 @@ module ActiveRecord
binds)
end
- # Initializes new record from relation while maintaing the current
+ # Initializes new record from relation while maintaining the current
# scope.
#
# Expects arguments in the same format as +Base.new+.
@@ -99,7 +99,7 @@ module ActiveRecord
alias build new
- # Tries to +create+ a new record with the same scoped attributes
+ # Tries to create a new record with the same scoped attributes
# defined in the relation. Returns the initialized object if validation fails.
#
# Expects arguments in the same format as +Base.create+.
@@ -252,7 +252,7 @@ module ActiveRecord
end
end
- # Returns true if there are more than one records.
+ # Returns true if there is more than one records.
def many?
if block_given?
to_a.many? { |*block_args| yield(*block_args) }