Sha256: 1f64cfff8664be0d9f3b7064827a674180806d1cbf9dd1f303876d4f2d5e8798

Contents?: true

Size: 307 Bytes

Versions: 5

Compression:

Stored size: 307 Bytes

Contents

# This hook is use to setup the configuration for creating models through
# rails generators
ActsAsUser.setup do |config|

  config.models_acting_as_users = [:admin, :customer]

  # ==> ORM Configuration
  # Load and configure the ORM. Supports :active_record
  require 'acts_as_user/orm/active_record'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
acts_as_user-1.2.5 spec/support/acts_as_user_initializer.rb
acts_as_user-1.2.4 spec/support/acts_as_user_initializer.rb
acts_as_user-1.2.3 spec/support/acts_as_user_initializer.rb
acts_as_user-1.2.2 spec/support/acts_as_user_initializer.rb
acts_as_user-1.2.1 spec/support/acts_as_user_initializer.rb