From 36914834a12d1258fc752e1784d7b23703747f30 Mon Sep 17 00:00:00 2001 From: "M. Scott Ford" Date: Thu, 28 Jul 2011 01:09:25 -0400 Subject: [PATCH] Switched from calling #update to #update_attributes!. --- lib/locomotive/import/content_types.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locomotive/import/content_types.rb b/lib/locomotive/import/content_types.rb index bcda7768..e7d16db6 100644 --- a/lib/locomotive/import/content_types.rb +++ b/lib/locomotive/import/content_types.rb @@ -71,7 +71,7 @@ module Locomotive def update_attributes(content_type, data) attributes = cleanse_attributes(data) - content_type.update(attributes) + content_type.update_attributes!(attributes) end def add_or_update_fields(content_type, fields)