Sha256: 21df82abcc8e84b00787b43d85a718f9947ea9a3e1cb9e868cb412de8ad705f1

Contents?: true

Size: 604 Bytes

Versions: 2

Compression:

Stored size: 604 Bytes

Contents

module Eaco
  module Cucumber
    module ActiveRecord

      ##
      # This is an example of a {Eaco::Actor} that can be authorized against
      # the ACLs in a resource, such as the example {Document}.
      #
      # For the background story, see {Eaco::Cucumber::World}.
      #
      # @see Document
      # @see Eaco::Actor
      # @see Eaco::Cucumber::World
      #
      class User < ::ActiveRecord::Base
        autoload :Designators, 'eaco/cucumber/active_record/user/designators.rb'

        has_many :positions
        has_many :departments, through: :positions
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eaco-0.6.1 lib/eaco/cucumber/active_record/user.rb
eaco-0.6.0 lib/eaco/cucumber/active_record/user.rb