-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
The following should be possible:
class Band embeds_many :instruments end class Instrument field :type field :color embedded_in :band end Band.first.instruments.where(type: :guitar).set(color: :red) #=> current behavior: # NoMethodError: undefined method `set' for #<Mongoid::Contextual::Memory