Sha256: 419cd891886912873ea8b620598dfd6a204233aa04f8884ad31e294d27aa5319

Contents?: true

Size: 589 Bytes

Versions: 1

Compression:

Stored size: 589 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, 'lib/eaco/cucumber/designators.rb'

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

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eaco-0.5.0 lib/eaco/cucumber/active_record/user.rb