Add the has_many_polymorphs plugin
[cs356-p2-videostore.git] / vendor / plugins / has_many_polymorphs / generators / commenting / templates / commentings.yml
1 --- 
2 <% if commentable_models.size > 1 -%>
3 commentings_003: 
4   <%= parent_association_name -%>_id: "2"
5   id: "3"
6   commentable_type: <%= model_one %>
7   commentable_id: "1"                
8 <% end -%>
9 commentings_004: 
10   <%= parent_association_name -%>_id: "2"
11   id: "4"
12   commentable_type: <%= model_two %>
13   commentable_id: "2"
14 commentings_001: 
15   <%= parent_association_name -%>_id: "1"
16   id: "1"
17   commentable_type: <%= model_two %>
18   commentable_id: "1"
19 commentings_002: 
20   <%= parent_association_name -%>_id: "1"
21   id: "2"
22   commentable_type: <%= model_two %>
23   commentable_id: "2"