aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2015-09-18 12:30:41 +0000
committerVijay Dev <vijaydev.cse@gmail.com>2015-09-18 12:30:41 +0000
commite80b39c390c4fef3669f0341b30ae4741674f09c (patch)
tree8db57416b23bd7681d34a4c1c602bcdffab7aae5 /activerecord/lib/active_record
parentdcecbb4234e5b0e4751b57ce49c7afbf0775f937 (diff)
parentb3b9d9ffe59f3038b8c4d9460d0bf41e10d881d8 (diff)
downloadrails-e80b39c390c4fef3669f0341b30ae4741674f09c.tar.gz
rails-e80b39c390c4fef3669f0341b30ae4741674f09c.tar.bz2
rails-e80b39c390c4fef3669f0341b30ae4741674f09c.zip
Merge branch 'master' of github.com:rails/docrails
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/aggregations.rb2
-rw-r--r--activerecord/lib/active_record/associations/has_one_association.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/aggregations.rb b/activerecord/lib/active_record/aggregations.rb
index f7b50cd25a..a2aea63bdd 100644
--- a/activerecord/lib/active_record/aggregations.rb
+++ b/activerecord/lib/active_record/aggregations.rb
@@ -25,7 +25,7 @@ module ActiveRecord
end
# Active Record implements aggregation through a macro-like class method called +composed_of+
- # for representing attributes as value objects. It expresses relationships like "Account [is]
+ # for representing attributes as value objects. It expresses relationships like "Account [is]
# composed of Money [among other things]" or "Person [is] composed of [an] address". Each call
# to the macro adds a description of how the value objects are created from the attributes of
# the entity object (when the entity is initialized either as a new object or from finding an
diff --git a/activerecord/lib/active_record/associations/has_one_association.rb b/activerecord/lib/active_record/associations/has_one_association.rb
index b1e05c32b5..0fe9b2e81b 100644
--- a/activerecord/lib/active_record/associations/has_one_association.rb
+++ b/activerecord/lib/active_record/associations/has_one_association.rb
@@ -1,5 +1,5 @@
module ActiveRecord
- # = Active Record Belongs To Has One Association
+ # = Active Record Has One Association
module Associations
class HasOneAssociation < SingularAssociation #:nodoc:
include ForeignAssociation