Sha256: 85925ad0a0dddbdafac3b8c4821d8d5226e519865a7e441368f7d3a2e49d1885

Contents?: true

Size: 586 Bytes

Versions: 1

Compression:

Stored size: 586 Bytes

Contents

--- 
<% if commentable_models.size > 1 -%>
commentings_003: 
  <%= parent_association_name -%>_id: "2"
  id: "3"
  commentable_type: <%= model_one %>
  commentable_id: "1"                
<% end -%>
commentings_004: 
  <%= parent_association_name -%>_id: "2"
  id: "4"
  commentable_type: <%= model_two %>
  commentable_id: "2"
commentings_001: 
  <%= parent_association_name -%>_id: "1"
  id: "1"
  commentable_type: <%= model_two %>
  commentable_id: "1"
commentings_002: 
  <%= parent_association_name -%>_id: "1"
  id: "2"
  commentable_type: <%= model_two %>
  commentable_id: "2"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
has_many_polymorphs-2.11 generators/commenting/templates/commentings.yml