Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-591

I think it would be nice to call models' methods with blocks

    • Type: Icon: Task Task
    • Resolution: Done
    • 2.0.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      This commit lets you call:
      country.cities.custom_each

      { |c| c.something_cool }

      Tests show more useful example

            Assignee:
            Unassigned Unassigned
            Reporter:
            netizer Krzysiek HerĂ³d
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: