Skip to content

Database command 'mapreduce' failed: {"errmsg"=>"ns doesn't exist", "ok"=>0.0} #2

@ieq8

Description

@ieq8

Hello! I use mongodb 1.6.3 + mongoid 2.0.0.beta.20
I have models:
User
include Mongoid::Document
embeds_many :nodes
Node
include Mongoid::Document
include Mongoid::Timestamps
include Mongoid::Taggable
embedded_in :user, :inverse_of => :nodes

And i see this error:
Database command 'mapreduce' failed: {"errmsg"=>"ns doesn't exist", "ok"=>0.0} when try:
User.first.nodes.create(:node_body => "first", :tags => "tag1, tag2, tag3")

Is this 'mongoid_taggable' bug or my fail?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions