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

Should ActiveFedora::Associations::IndirectlyContainsAssociation#container use the options Hash to retrieve the predicate for inserted_content_relation #1345

Open
jrgriffiniii opened this issue Aug 15, 2018 · 0 comments

Comments

@jrgriffiniii
Copy link
Contributor

An approach has been recommended in https://github.com/samvera/active_fedora/blob/master/spec/integration/indirect_container_spec.rb#L101:
options[:through].constantize._reflect_on_association(options[:foreign_key]).predicate

Might this may be integrated within:
https://github.com/samvera/active_fedora/blob/master/lib/active_fedora/associations/indirectly_contains_association.rb#L49?

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

No branches or pull requests

1 participant