Displaying 2 results from an estimated 2 matches for "category_typ".
Did you mean:
category_type
2006 Dec 15
1
How can I have two controllers use the same 'category' model if they aren't related?
Hi all,
I have two controllers - "foods" and "receipes" which map to models.
Each one will have multiple categories, but the categories are
completely different for each one - they don''t share the same
category. So they aren''t related at all.
If I wanted to do this using resources, what is the best way to set
this up? If I setup a categories controller and
2012 Jun 08
7
filter children with acts_as_tree
Hello Experts,
I have a tree of categories in this category object there is a property
called type.
the root categories have no type but the children have. so how I can get
all the roots with filled in children that have category type = ''B'' for
instance.
I tried to run Category.roots then delete children With a category not
equal to ''B'' but this causes a major