Source: show
# File app/models/concerns/authentication_inactivable.rb, line 12 def clear_authentication_inactive(query) where(query).all? do |member| member.mark_authentication_active member.save end end
# File app/models/concerns/authentication_inactivable.rb, line 5 def mark_authentication_inactive(query, reason = {}) where(query).all? do |member| member.mark_authentication_inactive(reason) member.save end end