Skip to content

Instantly share code, notes, and snippets.

@nandokakimoto

nandokakimoto/member.rb Secret

Created Jan 31, 2017
Embed
What would you like to do?
blog-post-830-member-validation
class Member < ActiveRecord::Base
validates :first_name, :last_name, presence: true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.