fix dummy app crash with mongoid4