Class: Alchemy::FoldedPage
- Inherits:
-
BaseRecord
- Object
- ActiveRecord::Base
- BaseRecord
- Alchemy::FoldedPage
- Defined in:
- app/models/alchemy/folded_page.rb
Class Method Summary collapse
Methods inherited from BaseRecord
Class Method Details
.folded_for_user(user) ⇒ Object
18 19 20 21 |
# File 'app/models/alchemy/folded_page.rb', line 18 def self.folded_for_user(user) return none unless Alchemy.user_class < ActiveRecord::Base where(user: user, folded: true) end |