search for: 001_create_options

Displaying 1 result from an estimated 1 matches for "001_create_options".

2008 Feb 13
4
Migration Issues: Can't update newly added column values
...field is true. Or, at least that''s the idea. Unfortunately, the code to update the field has no effect. Can someone tell me why? For completeness, I created a simple test rails application (bugtest) to demonstrate. The applicable files/code are as follows: ---------- bugtest/db/migrate/001_create_options.rb <--- Original table definition ---------- class CreateOptions < ActiveRecord::Migration def self.up create_table :options do |t| t.string :name t.boolean :is_deleted, :default => false, :null => false t.timestamps end end def self.down drop_table...