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
If an embedded class has associations, they cannot be saved or accessed. Results in an error
For example: