Closed dsjoerg closed 8 years ago
Not sure what's up with this. It happened when I tried to add a hosting. I thought this happened because I did a database migration to add the accomodation_type
column to the hostings
table but needed to restart heroku.
So I did a heroku restart
and then added a hosting and it worked.
But then I looked in the DB and I had successfully added a hosting 4 hours ago, so now I don't know what the problem is or was.
Airbrake error: #3800 Airbrake project: hillarybnb
Error type:`)
ActiveModel::MissingAttributeError
Error message:can't write unknown attribute
accomodation_type` **Where:**
hostings#create**Occurred at:** Oct 12, 2016 00:58:19 UTC **First seen at:** Oct 12, 2016 00:58:19 UTC **Occurrences:** 0 (0 since last deploy on
URL: http://www.hillarybnb.com/hostings File:
[GEM_ROOT]/gems/activerecord-4.2.7.1/lib/active_record/attribute.rb
Backtrace: