class TaMembership

Public Instance Methods

must_be_a_ta() click to toggle source
# File app/models/ta_membership.rb, line 4
def must_be_a_ta
  if user && !user.is_a?(Ta)
    errors.add('User must be a ta')
    false
  end
end