app/models/events/event_staff_position_shift.rb
def signup!(person, send_email = true)
    new_staff = staffs.create(:person_id => person.id)
    new_staff.send_staff_signup_email if new_staff.valid? && send_email
    new_staff
  end
# Signs up a person for this shift. Specify false for the second parameter to not send an email.
Signs up a person for this shift. Specify false for the second parameter to not send an email.
Signs up a person for this shift . Specify false for the second parameter to not send an email .
def signup!(person, send_email = true)
    new_staff = staffs.create(:person_id => person.id)
    new_staff.send_staff_signup_email if new_staff.valid? && send_email
    new_staff
  end
def signup! ( person , send_email = true ) new_staff = staffs . create ( :person_id => person . id ) new_staff . send_staff_signup_email if new_staff . valid? && send_email new_staff end
Signs up a person for this shift.
Signs up a person for this shift .
person
send_email