lib/app/models/magic_addresses/association.rb in magic_addresses-0.0.39.rc2 vs lib/app/models/magic_addresses/association.rb in magic_addresses-0.0.39.rc3

- old
+ new

@@ -76,10 +76,11 @@ ## I N S T A N C E - M E T H O D S # # # # # # # # # # # # # # # # # # # # # # # module OneInstanceMethods # => http://stackoverflow.com/a/6989403/1470996 def build_address(params = {}) - self.address = MagicAddresses::Address.new(params) + self.build_addressible + self.addressible.address = MagicAddresses::Address.new(params) end end #> InstanceMethods module NestedInstanceMethods