lib/materialist/materializer.rb in materialist-2.3.0 vs lib/materialist/materializer.rb in materialist-2.3.1

- old
+ new

@@ -150,11 +150,10 @@ end def upsert_record model_class.find_or_initialize_by(source_lookup(url)).tap do |entity| send_messages(before_upsert, entity) unless before_upsert.nil? - entity.update_attributes attributes - entity.save! + entity.update_attributes! attributes end end def materialize_links (options[:links_to_materialize] || [])