aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-04-05 22:14:26 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-04-05 22:14:26 +0530
commitc94e45088a06f781cc3f83dfd4147fd07f7f87d3 (patch)
tree5baa9e4c0ee3a917b600fe9747c10b5330b33f7b /guides/source
parentba60686ad93a3363f15c4d83da66cee34bfbe788 (diff)
downloadrails-c94e45088a06f781cc3f83dfd4147fd07f7f87d3.tar.gz
rails-c94e45088a06f781cc3f83dfd4147fd07f7f87d3.tar.bz2
rails-c94e45088a06f781cc3f83dfd4147fd07f7f87d3.zip
fix boolean value in guide [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/migrations.textile2
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