#<Mongoid::Contextual::Mongo:0x882a9c8 @cache=nil, @klass=StoriesCache, @criteria=#<Mongoid::Criteria
selector: {"_type"=>{"$in"=>["StoriesCache"]}}
options: {:sort=>{"last_7_days_views"=>-1}, :limit=>10}
class: StoriesCache
embedded: false>
, @collection=#<Moped::Collection:0x882a788 @database=#<Moped::Database:0x882a7e8 @session=<Moped::Session seeds=["localhost:27017"] database=bgmn_codebase_development>, @name="bgmn_codebase_development">, @name="mongo_documents">, @query=#<Moped::Query:0x882a4b8 @selector={"_type"=>{"$in"=>["StoriesCache"]}}, @collection=#<Moped::Collection:0x882a788 @database=#<Moped::Database:0x882a7e8 @session=<Moped::Session seeds=["localhost:27017"] database=bgmn_codebase_development>, @name="bgmn_codebase_development">, @name="mongo_documents">, @operation=#<Moped::Protocol::Query
@length=0
@request_id=0
@response_to=0
@op_code=2004
@flags=[]
@full_collection_name="bgmn_codebase_development.mongo_documents"
@skip=0
@limit=10
@selector={"$query"=>{"_type"=>{"$in"=>["StoriesCache"]}}, "$orderby"=>{"last_7_days_views"=>-1}}
@fields=nil>>, @cache_loaded=true> is not a symbol
我有delayed_job(使用sql后端)和solr,它很乐意在mongo_mapper上工作但现在在mongoid上它们没有工作。