Sha256: 79893e5420ab594f8737a07b465126fece88a01838780086f705827135571099
Contents?: true
Size: 694 Bytes
Versions: 14
Compression:
Stored size: 694 Bytes
Contents
require 'require_all' require 'active_support/inflector' require_all File.dirname(__FILE__) + '/strategies' module RoleModels::ActiveRecord include RoleModels::Base orm_name :active_record end module ActiveRecord class Base include RoleModels::ActiveRecord end end class User include RoleModels::Generic attr_accessor :roles_mask role_strategy :roles_mask end class User include RoleModels::Generic::RolesMask attr_accessor :roles_mask end class User < ActiveRecord::Base role_strategy :roles_mask end class User include MongoMapper::Document role_strategy :roles_mask end class User include Mongoid::Document role_strategy :roles_mask end
Version data entries
14 entries across 14 versions & 1 rubygems