Database constraints made easy for ActiveRecord.