Sha256: 6d9fe1dfdfa26f0e81e0281b5a0f72cb73b620d39e948897fe191da2c3ad6265

Contents?: true

Size: 721 Bytes

Versions: 3

Compression:

Stored size: 721 Bytes

Contents

require 'id_please/config'
require 'id_please/assignment_map'

if defined? ActiveRecord::Base
  require 'id_please/model_extensions'
  require 'id_please/model_extensions/for_subject'
  require 'id_please/model_extensions/for_object'
  require 'id_please/model_extensions/for_group'
  require 'id_please/model_extensions/for_role'
  ActiveRecord::Base.send(:include, IdPlease::ModelExtensions)
end


# if defined? ActionController::Base
#   require File.join(File.dirname(__FILE__), 'acl9', 'controller_extensions')
#   require File.join(File.dirname(__FILE__), 'acl9', 'helpers')
# 
#   ActionController::Base.send(:include, Acl9::ControllerExtensions)
#   Acl9Helpers = Acl9::Helpers unless defined?(Acl9Helpers)
# end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
id_please-0.8.0 lib/id_please.rb
id_please-0.7.0 lib/id_please.rb
id_please-0.6.0 lib/id_please.rb