Skip to content

Fix include associations which might be nil. #37

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

Merged
merged 1 commit into from
Nov 11, 2014
Merged

Fix include associations which might be nil. #37

merged 1 commit into from
Nov 11, 2014

Conversation

hesalx
Copy link
Contributor

@hesalx hesalx commented Nov 10, 2014

Fixes the issue #36
has_one association should return nil is source model's one is nil. Or I think so.
You can try the test without other changes to reproduce the exact issue I had encountered to find better solutions if possible.

lgebhardt added a commit that referenced this pull request Nov 11, 2014
Fix include associations which might be nil.
@lgebhardt lgebhardt merged commit 5714478 into cerebris:master Nov 11, 2014
@lgebhardt
Copy link
Member

@arantir Thanks!

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 36ad222 on arantir:master into * on cerebris:master*.

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

Successfully merging this pull request may close these issues.

3 participants