Displaying 1 result from an estimated 1 matches for "referenced_in".
Did you mean:
referenced_by
2011 May 08
0
Mongoid rails 3
Hi,
I am using mongoid, rails, mongohq.
I have to tables Category and SubCategory
Category references_many :subcategories
SubCategory referenced_in :category
Now I have a form in view. In view, when user chooses a category, an
ajax request is made to get dependent subcategories. But problem is, it
is returning empty array in response(this is using mongohq). It is
working normally as expected when using local mongodb.
Can anyone help me.
Th...