mongomapper
how to index mongomapper 1 to many with sunspot / solr as its an objectId filed and not an integer?
I have a mongomapper 开发者_JS百科product and a category model and a category has many products.[详细]
2023-02-19 16:39 分类:问答advanced searching mongodb using mongomapper, sunspot/solr or sphinx?
I have am using mongodb with mongomapper to store all my products.Each product belongs to multiple categories that have many levels i.e. category, sub category etc.[详细]
2023-02-19 03:16 分类:问答Doctrine ODM and schema-less design
Continuing on from my question about EAV, I\'m considering using MongoDB to store product attributes.[详细]
2023-02-16 16:45 分类:问答Mongomapper: copy a document into a new document
I have a mongomapper document with embedded documents, and want to make a copy of it. In essence, what I am trying to do is something like this:[详细]
2023-02-16 03:54 分类:问答Including nested objects in JSON response, from MongoMapper objects
class Api::StoresController < ApplicationController respond_to :json def index @stores = Store.all(:include => :products)[详细]
2023-02-13 01:02 分类:问答mongo_mapper custom data types for localization
i have created a LocalizedString custom data type for storing / displaying translations using mongo_mapper.[详细]
2023-02-11 22:18 分类:问答rails and mongodb
I am trying out mongodb with Rails 3. after following instructions from mongomapper\'s site and a few others, i haven\'t been able to solve one small issue...[详细]
2023-02-08 06:31 分类:问答Rails 3 Polymorphic Association between one MongoMapper model and one/many Active Record model/s
I have a Record model (Active Record) that stores some custom logs. Record is in polymorphic association with all the other model in my app, and I can effectively log what I want hooking my Record me[详细]
2023-02-08 01:43 分类:问答"uninitialized constant MongoMapper::Base" error when doing rake mongo:mongrate
I got the following error during my \"rake mongo:mongrate\" attempt: $ rake mongo:mongrate --trace (in /home/mei/Jobfully)[详细]
2023-02-07 20:21 分类:问答Sinatra, MongoMapper, and Builder wrong number of arguments (1 for 0)
I am getting this error when calling a builder template from sinatra route: wrong number of arguments (1开发者_如何学运维 for 0)[详细]
2023-02-07 03:03 分类:问答