Permalink
Browse files

Fix typos

  • Loading branch information...
1 parent 6987966 commit 11d488dd7a5adf1c5c5044ee2cdd96e127e67cd4 @oscardelben oscardelben committed Jul 19, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 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) }

0 comments on commit 11d488d

Please sign in to comment.