lib/app/models/magic_addresses/association.rb in magic_addresses-0.0.21 vs lib/app/models/magic_addresses/association.rb in magic_addresses-0.0.22

- old
+ new

@@ -75,10 +75,10 @@ ## 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) + def build_address(params = {}) self.address = MagicAddresses::Address.new(params) end end #> InstanceMethods