I often write permission checks that do not need to accept any arguments:
class UserAccess < DefaultAccess
def sign_in?(user_klass)
current_user.present?
end
end
which is executed from controller as:
authorize! :sign_in, User
It would be good if we could rewrite the sign_in? signature without user_klass argument that is not used.