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

Version Path
gb_mapfish_appserver-0.8.7 app/models/access_filter.rb
gb_mapfish_appserver-0.8.6 app/models/access_filter.rb
gb_mapfish_appserver-0.8.5 app/models/access_filter.rb
gb_mapfish_appserver-0.8.4 app/models/access_filter.rb
gb_mapfish_appserver-0.8.3 app/models/access_filter.rb
gb_mapfish_appserver-0.8.2 app/models/access_filter.rb
gb_mapfish_appserver-0.8.1 app/models/access_filter.rb
gb_mapfish_appserver-0.8.0 app/models/access_filter.rb
gb_mapfish_appserver-0.0.7 app/models/access_filter.rb
gb_mapfish_appserver-0.0.6 app/models/access_filter.rb
gb_mapfish_appserver-0.0.5 app/models/access_filter.rb
gb_mapfish_appserver-0.0.4 app/models/access_filter.rb
gb_mapfish_appserver-0.0.3 app/models/access_filter.rb
gb_mapfish_appserver-0.0.2 app/models/access_filter.rb
gb_mapfish_appserver-0.0.1 app/models/access_filter.rb