Displaying 1 result from an estimated 1 matches for "title_level".
Did you mean:
title_levels
2007 Nov 29
1
Migration Bug?
Please tell me I''m just confused, but this is very strange.
I have a migration like so:
class AddLevelToRequest < ActiveRecord::Migration
def self.up
add_column :requests, :title_levels, :string
end
def self.down
remove_column :requests, :title_levels
end
end
Run the migration, and from the console do:
>> r = Request.new
=> #<Request:0x31a243c @attributes={"title_levels"=>nil,
"department"=>nil, ...
So far so good. My new attrib...