Closed pstoica closed 10 years ago
Kind of fixed, a legacy staff record had an invalid joined date ("2005-11-00", I'm not sure if this is actually invalid). I used update_all to fix this without having to load the object causing the error:
Legacy::Staff.update_all({joined: nil}, {joined: "2005-11-00"})
http://apidock.com/rails/ActiveRecord/Base/update_all/class
but this might not carry back over to the master database since it's using a slave copy and I'm not sure how replication is setup. I'm going to point the staff database to master soon. Closing for now.
urgh