Added constraints to migrations and validations to models
Looked at the activerecord errors thing for validations