I am trying to add a multiple image uploader with Carrierwave following the documentation to my app.
Normally my schema.rb looks like this
ActiveRecord::Schema.define(version: 20160814232416) do
create_table "progresses", force: :cascade do |t|
t.string "title"
t.string "date"
t.text "content"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
end
And when I run :
rails g migration add_images_to_progresses images:json
and
rake db:migrate
My schema change and display that weird thing.... Is it a problem with Sqlite3 or Pg? What should I do ?
ActiveRecord::Schema.define(version: 20160815005123) do
# Could not dump table "progresses" because of following NoMethodError
#undefined method `[]' for nil:NilClass
end