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

             
          
                 

               
       
          
                 
                 
 
       
          
                   
                 

       
          
                   
                 




                                
                         


                      
         
# tree mixins
tree_1:
  id: 1001
  type: TreeMixin
  parent_id: 0 
  
tree_2:
  id: 1002
  type: TreeMixin
  parent_id: 1001

tree_3:
  id: 1003
  type: TreeMixin  
  parent_id: 1002

tree_4:
  id: 1004
  type: TreeMixin  
  parent_id: 1001
  
# List mixins

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