Sha256: d754646d3d83239409bd748f93c9bad8c55017ab56c167a90ba92467f43ed331

Contents?: true

Size: 799 Bytes

Versions: 8

Compression:

Stored size: 799 Bytes

Contents

parent_one:
  field: 1
  # nesting in the has_many direction
  nested_children:
    nested_one:
      field: 1
      inner_children:
        inner_one:
          field: 1
          # array of joins, and reference by name
          nested_parents:
            - parent_two
            - parent_three:
                field: 3
  # nesting the belongs_to direction
  inner_child:
    inner_two:
      field: 2
      nested_child:
        nested_two:
          field: 2
          # another version of reference by name
          nested_parent: parent_two

# merge and redundancy -- as per the inner_one declaration above
parent_two:
  field: 2
  inner_child: inner_one

# reference to an entry defined in another fixture
parent_four:
  field: 4
  inner_child: inner_three

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
joinfix-1.0.0 test/fixtures/nested_parents.yml
joinfix-0.1.0 test/fixtures/nested_parents.yml
joinfix-0.1.0 rails/test/fixtures/nested_parents.yml
joinfix-0.1.1 test/fixtures/nested_parents.yml
joinfix-0.1.1 rails/test/fixtures/nested_parents.yml
joinfix-1.0.0 rails/test/fixtures/nested_parents.yml
joinfix-1.0.1 test/fixtures/nested_parents.yml
joinfix-1.0.1 rails/test/fixtures/nested_parents.yml