I am deploying my first little app with MongoDB and Mongoid as a driver.开发者_Go百科 What is the right secure way to use MongoDB in production?
I\'m sure it\'s just some very basic MongoDB concept that I fail to understand, but this drives me insane.
I\'m building a Rails app that uses MongoDB as the backend, with Mongoid as the ODM. I\'ve found it very useful, but I\'m looking for a good way to keep track of the following:
I have the following model class Vote include Mongoid::Document include Mongoid::Timestamps field :value, :type => Symbol # can be :aye, :nay, :abstain, :present
When using STI and polymorphism in ActiveRecord, the following is needed to ensure that :dependent => :destroy
Rails 2.3.11 application Mongoid 1.9.2 (latest \"legacy\" branch) Since there\'s no documentation for Mongoid 1.X branch anymore, I\'m struggling with what I\'ve got
In my rails app I\'m using mongoid and in the logs before pretty much every query, even on the same request, it also does
Mongoid queries are fast. For example if it a query which returns 300 documents takes about 10 miliseconds but if I do
I have an app, where users list can be filtered on some criteria. One such criteria is experience of the user an mentioned in professional details. I have different kind of filters at different places
I\'m trying to reference the parent object of an embedded document from within an after_initialize callback.