i added
, force => true
to the migration file which was created when i generated the model.
can anyone tell me what is going wrong here?
#######################################
MIGRATION:
#######################################
class CreateStories < ActiveRecord::Migration
def self.up
create_table :stories, force => true do |t|
t.string :name
t.string :link
t.timestamps
end
end
def self.down
drop_table :stories
end
end
#######################################
ERROR:
#######################################
undefined method ‘force’ for
ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x51f3bf0