This module adds the accessible_by class method to a model. It is included in the model adapters.
# File lib/cancan/model_additions.rb, line 27 def self.included(base) base.extend ClassMethods end