From 11d488dd7a5adf1c5c5044ee2cdd96e127e67cd4 Mon Sep 17 00:00:00 2001 From: Oscar Del Ben Date: Thu, 19 Jul 2012 11:16:02 -0700 Subject: [PATCH] Fix typos --- activerecord/lib/active_record/relation.rb | 6 +++--- 1 file 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 @@ def insert(values) 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 @@ def initialize_copy(other) 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 @@ def any? 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) } -- GitLab