From c94e45088a06f781cc3f83dfd4147fd07f7f87d3 Mon Sep 17 00:00:00 2001
From: Vijay Dev <vijaydev.cse@gmail.com>
Date: Thu, 5 Apr 2012 22:14:26 +0530
Subject: fix boolean value in guide [ci skip]

---
 guides/source/migrations.textile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'guides/source/migrations.textile')

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
-- 
cgit v1.2.3

