I have user.rb which have many has_many relations for other models like grades.rb I am validating :name using regex
validates :email, format: { with: Devise