pda/devise-login-cookie — pull request #5 by joe1chen (2013-08-18 15:36:49+00:00)
Title: Mongoid support

Use ActiveModel.find to retrieve database object instead of where() in order to support Mongoid. This should be backwards compatible with ActiveRecord.