Last Updated: February 25, 2016
·
681
· shanemcd

Validate all fields on Rails model

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