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

Fixed has_one association when it's nil. #44

Merged
merged 1 commit into from Jun 21, 2016
Merged

Fixed has_one association when it's nil. #44

merged 1 commit into from Jun 21, 2016

Conversation

galikhanov
Copy link
Contributor

I get exception undefined method each for nil:NilClass when try to access association which is nil.
This pull request fix it.

Sorry for my English.

…hod each for nil:NilClass` when try to access association which is nil
@coveralls
Copy link

Coverage Status

Coverage increased (+0.0006%) to 99.158% when pulling c4d3ae5 on krokodily:has_one_nil_fix into 36544d1 on flexirest:master.

1 similar comment
@coveralls
Copy link

coveralls commented Jun 21, 2016

Coverage Status

Coverage increased (+0.0006%) to 99.158% when pulling c4d3ae5 on krokodily:has_one_nil_fix into 36544d1 on flexirest:master.

@andyjeffries andyjeffries merged commit e32f772 into flexirest:master Jun 21, 2016
@andyjeffries
Copy link
Collaborator

Thanks for your PR, merged.

@galikhanov galikhanov deleted the has_one_nil_fix branch June 21, 2016 13:47
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.

None yet

3 participants