hanami.github.io icon indicating copy to clipboard operation
hanami.github.io copied to clipboard

Proposal: Creating has_one association example

Open davydovanton opened this issue 8 years ago • 3 comments

Now we have only has_many association example. I think it will be good to add has_one example too. WDYT?

/cc @hanami/documentation @jodosha @cllns

davydovanton avatar Feb 16 '17 12:02 davydovanton

@davydovanton it's not implemented right now and even has_many is still experimental.

mereghost avatar Mar 09 '17 15:03 mereghost

@mereghost as far as I know we have implemented all associations isn't it? I think we should create guides for belongs_to, has_one and many_to_many.

AlfonsoUceda avatar Sep 17 '17 20:09 AlfonsoUceda

Yep. has_one, has_many, belongs_to and has_many :through (aka many-to-many) working good as far as I made the code bend and stretch itself.

mereghost avatar Sep 27 '17 15:09 mereghost