Class
Rolify::Adapter::RoleAdapter
In:
lib/rolify/adapters/mongoid/role_adapter.rb
lib/rolify/adapters/active_record/role_adapter.rb
Parent:
RoleAdapterBase
Methods
add
add
all_except
all_except
exists?
exists?
find_cached
find_cached
find_cached_strict
find_cached_strict
find_or_create_by
find_or_create_by
remove
remove
scope
scope
where
where
where_strict
where_strict
Public Instance methods
add
(relation, role)
add
(relation, role)
all_except
(user, excluded_obj)
all_except
(user, excluded_obj)
exists?
(relation, column)
exists?
(relation, column)
find_cached
(relation, args)
find_cached
(relation, args)
find_cached_strict
(relation, args)
find_cached_strict
(relation, args)
find_or_create_by
(role_name, resource_type = nil, resource_id = nil)
find_or_create_by
(role_name, resource_type = nil, resource_id = nil)
remove
(relation, role_name, resource = nil)
remove
(relation, role_name, resource = nil)
scope
(relation, conditions)
scope
(relation, conditions)
where
(relation, *args)
where
(relation, *args)
where_strict
(relation, args)
where_strict
(relation, args)
[Validate]