Browse files

fix boolean value in guide [ci skip]

  • Loading branch information...
1 parent ba60686 commit c94e45088a06f781cc3f83dfd4147fd07f7f87d3 @vijaydev vijaydev committed Apr 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/migrations.textile
View
2 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

0 comments on commit c94e450

Please sign in to comment.