diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-04-05 22:14:26 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-04-05 22:14:26 +0530 |
commit | c94e45088a06f781cc3f83dfd4147fd07f7f87d3 (patch) | |
tree | 5baa9e4c0ee3a917b600fe9747c10b5330b33f7b /guides | |
parent | ba60686ad93a3363f15c4d83da66cee34bfbe788 (diff) | |
download | rails-c94e45088a06f781cc3f83dfd4147fd07f7f87d3.tar.gz rails-c94e45088a06f781cc3f83dfd4147fd07f7f87d3.tar.bz2 rails-c94e45088a06f781cc3f83dfd4147fd07f7f87d3.zip |
fix boolean value in guide [ci skip]
Diffstat (limited to 'guides')
-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 |