Skip to content

Instantly share code, notes, and snippets.

@nandokakimoto
Created January 31, 2017 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nandokakimoto/dfbd02f0dece82266b7ee095a05e13c0 to your computer and use it in GitHub Desktop.
Save nandokakimoto/dfbd02f0dece82266b7ee095a05e13c0 to your computer and use it in GitHub Desktop.
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