diff options
Diffstat (limited to 'guides/source/migrations.textile')
-rw-r--r-- | guides/source/migrations.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/migrations.textile b/guides/source/migrations.textile index 04b453667a..28426de6d7 100644 --- a/guides/source/migrations.textile +++ b/guides/source/migrations.textile @@ -728,7 +728,7 @@ class AddFlagToProduct < ActiveRecord::Migration def change add_column :products, :flag, :boolean Product.all.each do |product| - product.update_attributes!(:flag => 'false') + product.update_attributes!(:flag => false) end end end |