https://www.dailydishnews.org.uk/post/forms-validations-in-rails-burv7l