Displaying 1 result from an estimated 1 matches for "add_rpts".
Did you mean:
add_pt
2006 Nov 29
2
db:migrate to add colum bombs...
...l object when you didn''t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.[]
********** code **********
Everything was working fine until my last ''generate'' to create a
migration like so "ruby script/generate migration add_rpts"
My Migration looks like this:
********** code **********
class AddRpts < ActiveRecord::Migration
def self.up
add_column :rpts, :integer
end
def self.down
remove_column :rpts
end
end
********** code **********
Lastly I did some research on this problem and one suggestio...