Class: Phcmemberspro::Directory::Category
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Phcmemberspro::Directory::Category
- Defined in:
- app/models/phcmemberspro/directory/category.rb
Class Method Summary collapse
-
.scoped_to(account) ⇒ Object
Account Scope.
Class Method Details
.scoped_to(account) ⇒ Object
Account Scope
5 6 7 |
# File 'app/models/phcmemberspro/directory/category.rb', line 5 def self.scoped_to(account) where(:account_id => account.id) end |