Skip to content

How to insert a new record with relations? #162

Description

@deleteman

I have ModelA that hasMany ModelB elements, how do I insert a new modelA with the associations already there for modelB? Or how do I associate the new record with the records of ModelB after the first one is saved?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions