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

How to find record in many association? #319

Open
sharp opened this issue Apr 16, 2013 · 0 comments
Open

How to find record in many association? #319

sharp opened this issue Apr 16, 2013 · 0 comments

Comments

@sharp
Copy link

sharp commented Apr 16, 2013

There is one model

class Person
  include Ripple::Document
  property :name, String
  many :addresses
  many :friends, :class_name => "Person"
  one :account
end

If there are two person model instances, how to find one person is in the other's friends ? There is no document description

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

No branches or pull requests

1 participant