Details
-
Improvement
-
Status: Closed
-
Unknown
-
Resolution: Fixed
-
None
-
None
-
Fully Compatible
Description
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?