Class: ActsPermissive::Circle
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ActsPermissive::Circle
- Defined in:
- lib/acts_permissive/circle.rb
Instance Method Summary collapse
Instance Method Details
#items ⇒ Object
18 19 20 |
# File 'lib/acts_permissive/circle.rb', line 18 def items Circling.items_in self end |
#users ⇒ Object
22 23 24 |
# File 'lib/acts_permissive/circle.rb', line 22 def users Grouping.by_circle(self).map{|c| c.permissible }.compact end |