1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fix boolean value in guide [ci skip]

This commit is contained in:
Vijay Dev 2012-04-05 22:14:26 +05:30
parent ba60686ad9
commit c94e45088a

View file

@ -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