zti1dq
Last Updated: February 25, 2016
·
570
· shanemcd

Validate all fields on Rails model

validates_presence_of(self.column_names - ["id", "created_at", "updated_at"])