Dynamic Finders for Mongoid
We’ve been busy over the last while switching a Rails 3 application over from ActiveRecord to Mongoid. In a lot of ways it has gone a lot less painfully than we expected, however one of the main problems we ran into was the common use of dynamic finders in controllers:
Mongoid (at the time of this writing) doesn’t officially support dynamic finders, so we have done one of our “minimum viable implementation” versions, available on Github. Please feel free to fork and send patches.