Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Creating has_one association example #278

Open
davydovanton opened this issue Feb 16, 2017 · 3 comments
Open

Proposal: Creating has_one association example #278

davydovanton opened this issue Feb 16, 2017 · 3 comments

Comments

@davydovanton
Copy link
Member

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

@mereghost
Copy link
Member

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

@AlfonsoUceda
Copy link
Contributor

AlfonsoUceda commented Sep 17, 2017

@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.

@mereghost
Copy link
Member

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.

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

No branches or pull requests

3 participants