lib/app/models/magic_addresses/association.rb in magic_addresses-0.0.37 vs lib/app/models/magic_addresses/association.rb in magic_addresses-0.0.38.beta1
- old
+ new
@@ -65,10 +65,10 @@
delegate :street, :number, :postalcode, :city, :district, :subdistrict, :state, :country,
:street=, :number=, :postalcode=, :city=, :country=,
to: :address, allow_nil: true
accepts_nested_attributes_for :address, allow_destroy: true, reject_if: :all_blank
- alias_method_chain :address, :build
+ # alias_method_chain :address, :build
end
end #> ClassMethods