script/generate nifty_scaffold invitation sender_id:integer recipient_email:string token:string sent_at:datetime new script/generate migration add_invitation_to_users invitation_id:integer invitation_limit:integer script/generate mailer Mailer invitation belongs_to :sender, :class_name => 'User' has_one :recipient, :class_name => 'User' validates_presence_of :recipient_email validate :recipient_is