lib/has_addresses.rb in has_addresses-0.0.1 vs lib/has_addresses.rb in has_addresses-0.0.2

- old
+ new

@@ -12,12 +12,12 @@ base.extend(MacroMethods) end module MacroMethods # Creates a new association for having a single address. This takes - # the same parameters as ActiveRecord::Associations::ClassMethods#has_one. - # By default, the following associations are the same: + # the same parameters as +has_one+. By default, the following associations + # are the same: # # class Person < ActiveRecord::Base # has_address # end # @@ -32,11 +32,11 @@ def has_address(*args, &extension) create_address_association(:one, :address, *args, &extension) end # Creates a new association for having a multiple addresses. This takes - # the same parameters as ActiveRecord::Associations::ClassMethods#has_many. - # By default, the following associations are the same: + # the same parameters as +has_many+. By default, the following associations + # are the same: # # class Person < ActiveRecord::Base # has_addresses # end #