Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor copy editing

  • Loading branch information...
commit 805c4c1e134bd36573d7d349a180b17dd1d77b7c 1 parent e63086c
Neeraj Singh neerajdotname authored
2  activerecord/lib/active_record/associations/association.rb
View
@@ -30,7 +30,7 @@ def initialize(owner, reflection)
reset_scope
end
- # Returns the name of the table of the related class:
+ # Returns the name of the table of the associated class:
#
# post.comments.aliased_table_name # => "comments"
#
4 activerecord/lib/active_record/associations/collection_proxy.rb
View
@@ -92,7 +92,7 @@ def loaded?
# # => ActiveModel::MissingAttributeError: missing attribute: person_id
#
# *Second:* You can pass a block so it can be used just like Array#select.
- # This build an array of objects from the database for the scope,
+ # This builds an array of objects from the database for the scope,
# converting them into an array and iterating through them using
# Array#select.
#
@@ -303,7 +303,7 @@ def concat(*records)
@association.concat(*records)
end
- # Replace this collection with +other_array+. This will perform a diff
+ # Replaces this collection with +other_array+. This will perform a diff
# and delete/add only records that have changed.
#
# class Person < ActiveRecord::Base
7 activerecord/lib/active_record/reflection.rb
View
@@ -75,8 +75,13 @@ def reflect_on_all_autosave_associations
end
end
- # Abstract base class for AggregateReflection and AssociationReflection. Objects of
+ # Base class for AggregateReflection and AssociationReflection. Objects of
# AggregateReflection and AssociationReflection are returned by the Reflection::ClassMethods.
+ #
+ # MacroReflection
+ # AggregateReflection
+ # AssociationReflection
+ # ThroughReflection
class MacroReflection
# Returns the name of the macro.
#
Please sign in to comment.
Something went wrong with that request. Please try again.