Class: Product::TextCreation::Story
- Inherits:
-
Story
- Object
- Story
- Product::TextCreation::Story
- Includes:
- Model::MongoDb::Product::Keywords
- Defined in:
- app/models/product/text_creation/story.rb
Class Method Summary collapse
Class Method Details
.for_user(user) ⇒ Object
19 20 21 |
# File 'app/models/product/text_creation/story.rb', line 19 def self.for_user(user) active.where(:language.in => user.languages) end |