I am looking on how I could do something like the following,
Foo < AR::Base
Bar < Foo.
I would like to list all Foo’s, but because Bar.is_a? Foo == true I
would like Bars to list as well.
Any ideas? Or pointers in the right direction? I know there is a ruby
command to list subclasses, or ancestors (don’t have my pickaxe handy)
but seem to remember it listing only models that are also have been
used in a method.