We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If an embedded class has associations, they cannot be saved or accessed. Results in an error
NoMethodError: undefined method `robject' for ClassName
For example:
class Box include Ripple::Document many :sides end class Side include Ripple::EmbeddedDocument many :holes embedded_in :box end class Hole include Ripple::Document property :descriptor, String end s = Side.new s.holes << Hole.new # Results in robject error mentioned above
The text was updated successfully, but these errors were encountered:
It should be an error to define a linked association on an embedded document. If you change it to :using => :stored_key, it should work.
:using => :stored_key
Sorry, something went wrong.
No branches or pull requests
If an embedded class has associations, they cannot be saved or accessed. Results in an error
For example:
The text was updated successfully, but these errors were encountered: