I have a strange issue on my Ruby on Rails app.
SOMETIMES when a record is being created I get this error:
A ActiveRecord::StatementInvalid occurred in conversations#create:
Mysql2::Error: Column ‘created_at’ cannot be null: …
The query generated by activerecord is this:
updated_at) VALUES (0, 0, NULL, 0,
0, 1, 0, 0, NULL, 4, 0, NULL, NULL, 0, NULL, 1, 0, NULL, ‘new’, 75, 4,
It happens randomly.