-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: Associations
-
None
-
Fully Compatible
Mongoid::Association::EmbedsMany::Proxy#count should allow block form to make it congruent with #any?, #none?, #all?, etc.
Example:
Person.addresses.count
I've also added additional tests for other methods #any?, #none?, #all?