Sha256: 67748aa93af45143be5e48daf9eaa726aba0643113093abe544b4502682b2d3e
Contents?: true
Size: 164 Bytes
Versions: 15
Compression:
Stored size: 164 Bytes
Contents
class AccessFilter < ActiveRecord::Base belongs_to :role attr_protected [] scope :for_roles, lambda { |roles| where(:role_id => roles.collect(&:id)) } end
Version data entries
15 entries across 15 versions & 1 rubygems