Correcting dependency on Mongoid