Hi Dan, There's no category_id on the categories table, or at least there shouldn't be. Not sure why yours has one. Can you check your migrations?
On Wed, Mar 20, 2013 at 10:22 PM, Dan Coutu <co...@snowy-owl.com> wrote: > I see that the schema for categories has a parent_id that is clearly > intended to provide an ability to support subcategories to an arbitrary > depth. However the model doesn't seem reflect this with a belongs_to. > > Am I misunderstanding the purpose of the parent_id field? > > Dan > > -- > You received this message because you are subscribed to the Google Groups > "CommunityEngine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to communityengine+unsubscr...@googlegroups.com. > To post to this group, send email to communityengine@googlegroups.com. > Visit this group at http://groups.google.com/group/communityengine?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To unsubscribe from this group and stop receiving emails from it, send an email to communityengine+unsubscr...@googlegroups.com. To post to this group, send email to communityengine@googlegroups.com. Visit this group at http://groups.google.com/group/communityengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out.