Module: Product::ProjectManagement
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/product/project_management.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#projects ⇒ Object
26 |
# File 'app/models/product/project_management.rb', line 26 def projects; Project.where(product_id: id); end |
#story_class ⇒ Object
28 |
# File 'app/models/product/project_management.rb', line 28 def story_class; "#{self.class.name}::Story".constantize rescue Story; end |