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:
parent
ba60686ad9
commit
c94e45088a
1 changed files with 1 additions and 1 deletions
|
@ -728,7 +728,7 @@ class AddFlagToProduct < ActiveRecord::Migration
|
||||||
def change
|
def change
|
||||||
add_column :products, :flag, :boolean
|
add_column :products, :flag, :boolean
|
||||||
Product.all.each do |product|
|
Product.all.each do |product|
|
||||||
product.update_attributes!(:flag => 'false')
|
product.update_attributes!(:flag => false)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue