Ruby on Rails, Act-as-Taggable-On and Ancestry (Categories). How to deal with? -
i have model "post" belongs_to "category" model.
category model "has_ancestry" because of nested system.
i need show on index page of posts, posts params:
category=first&tag=anytag(or many more tags)
how accomplish this?
obviously when i'm on posts list , view list of tags single post , click on tag, have "link_to" page of category tag in params[:tag]. if i'm not in explicit category => post.all)
i'm using tags acts-as-taggable-on.
how to?
Comments
Post a Comment