Skip to content

Conversation

@krzyczak
Copy link

No description provided.

@amitsuryavanshi
Copy link
Member

@krzyczak Can you create a issue with some description ?

else
subject.send(property) == value
if value.is_a?(Enumerable)
subject.class.where(property => value, neo_id: subject.neo_id).exists?
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this line is correct then it should handle both cases without the if statement. However, all 10 lines look dubious. If the subject is not a ..Proxy then one should be created rather than querying by neo_id.

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.

4 participants