Closed valeriecodes closed 9 years ago
Created_at and updated_at are often required fields, but Model.new.sneaky_save always fails for models requiring them.
Could created_at and updated_at be added as the current time if they're columns on the table and the provided values are null?
@azelma The main purpose of this gem is to do nothing with records before they get saved. If we do it.. do you think others will not be confused? Say no, and I will put this into the gem :)
Created_at and updated_at are often required fields, but Model.new.sneaky_save always fails for models requiring them.
Could created_at and updated_at be added as the current time if they're columns on the table and the provided values are null?