Need a unique gift idea?
A Pastebin account makes a great Christmas gift


a guest Oct 12th, 2018 55 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. Class Person < ActiveRecord::ApplicationRecord
  2.   validates :name, presence: true
  3.   validates :date_of_birth, presence: true, if: create_stage > 1
  4.   Validates :ni_number, presence: true, if: create_stage > 2
  5. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand