Displaying 1 result from an estimated 1 matches for "find_deep".
Did you mean:
  find_dbgp
  
2006 Apr 15
8
Inheritance in Rails - I need some help
I''ve got a model, "category" and another model "subcategory." Each 
subcategory belongs_to a category, and a category has_many 
subcategories.
What I need to do is set it up so that I can search Category and 
Subcategory with one .find call. So:
Category.find(:all, <etc)
will find categories and subcategories.
Now, I believe this can be done by making