Permalink
Browse files

patching migration for pple running from fresh install

  • Loading branch information...
1 parent ab433b1 commit c4727a11c13b647df0efb2709052e15798f7c92a @sbounmy sbounmy committed May 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 db/migrate/20120309094246_migrate_data_for_products.rb
View
2 db/migrate/20120309094246_migrate_data_for_products.rb
@@ -2,7 +2,7 @@ class MigrateDataForProducts < ActiveRecord::Migration
def up
Spree::Product.transaction do
Spree::Product.find_each do |product|
- product.update_attributes! product.untranslated_attributes
+ product.update_attributes!(product.untranslated_attributes, :without_protection => true)
end
end
end

0 comments on commit c4727a1

Please sign in to comment.