我有兩個型號,下面的關係, Class User
has_and_belongs_to_many :notification_channels
Class NotificationChannel
has_and_belongs_to_many :users
我能夠添加通知通道用戶對象以這種方式 @user.notification_channels << @notification
我沒有在我的代理安裝從http://mms.10gen.com/help/single/index.html#mms-requirements幫助編輯settings.py文件,以便useSslForAllConnections value is True 現在,當我運行python agent.py我得到錯誤這樣 2012-12-19 15:09:37,209 ERROR Problem col
具有以下,長期運行耙批: class SyncStarredRepo
include Mongoid::Document
def self.update
User.all.map do |user|
if user.email != "[email protected]"
begin
conn = Faraday.new "