aboutsummaryrefslogblamecommitdiffstats
path: root/activerecord/test/fixtures/mixins.yml
blob: e326f6675eeeb280aa1fc20dd039ccde2b39febe (plain) (tree)
1
2
3
4
5
6
7
8
9

             
       
                 

               
       
       
                 

              
       
       
















                                
# tree mixins
tree_1:
  id: 1
  type: TreeMixin
  parent_id: 0 
  
tree_2:
  id: 2
  type: TreeMixin
  parent_id: 1

tree_3:
  id: 3
  type: TreeMixin  
  parent_id: 2

tree_4:
  id: 4
  type: TreeMixin  
  parent_id: 1
  
# List mixins

<% (1..4).each do |counter| %>  
list_<%= counter %>:
  id: <%= counter+6 %>
  pos: <%= counter  %>
  type: ListMixin
  parent_id: 5
<% end %>