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

Seeds observations #174

Merged
merged 18 commits into from Aug 8, 2019

Conversation

@mdallago
Copy link
Member

commented Jul 30, 2019

@mdallago mdallago self-assigned this Jul 30, 2019

mdallago added some commits Jul 30, 2019

mdallago
mdallago
mdallago
mdallago
mdallago

@mdallago mdallago requested a review from nubis Aug 2, 2019

@mdallago mdallago marked this pull request as ready for review Aug 2, 2019

mdallago added some commits Aug 2, 2019

mdallago
mdallago
mdallago
text = extra[:text]
fruits_relation = extra[:fruit] || seed.naming.plural
seed_relation = seed.naming.seed_plural
items = resource.try(seed_relation) || resource.try(seed_relation.singularize)

This comment has been minimized.

Copy link
@nubis

nubis Aug 7, 2019

Member

all = resource.try(seed_relation) || [resource.try(seed_relation.singularize)].compact

@nubis nubis merged commit 83471b1 into master Aug 8, 2019

1 check passed

ci/circleci Your tests passed on CircleCI!
Details

@nubis nubis deleted the seeds-observations branch Aug 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.