Skip to content

An example with nested attributes? #20

@nathanvda

Description

@nathanvda

Hi, I am the author of the cocoon gem, and received a request to be able to create nested forms with ActiveModel models. This gems seems like the perfect answer from the short explanation in the readme, except I have no idea how you can implement two nested tableless models.

In the code I see no overruling of any association code (at first sight), so not sure it is actually supported at all. Also, while claims are made, I see no examples ;)

If you can provide me with a simple explanation, I am willing to play around myself, no need for big elaborate examples ;) If I can get it to work, I can update the README myself :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions