guest.rb 131 Bytes EditWeb IDE 1 2 3 4 5 6 7 class Guest class << self def can?(action, subject = :global) Ability.allowed?(nil, action, subject) end end end