module ActiveScaffold::Bridges::Cancan::ModelUserAccess::Model::ClassMethods
Attributes
current_ability_proc[RW]
The proc to call that retrieves the current_ability
from the ApplicationController.
Public Instance Methods
current_ability()
click to toggle source
Class-level access to the current ability
# File lib/active_scaffold/bridges/cancan/cancan_bridge.rb, line 60 def current_ability ::Sequel::Model.current_ability_proc.call if ::Sequel::Model.current_ability_proc end