Accessing children of children using has_many?

Hello. Thanks in advance for your help. What is the slickest way of
accessing children of children.

My understanding is that you can use "Parent.children" to get the
children of an object, but Parent.children.children wont work (while
Child.children will, but doesn't help)

Right now I'm using something like this

Here's where the language conventions of Rails (ActiveRecord) really shine. Re-read your explanation and then this possible solution:

class Challenge < ActiveRecord::Base
   has_many :challengers, :dependent => :destroy
   has_many :posts, :through => :challengers
end

This assumes that:
class Challenger < ActiveRecord::Base
   belongs_to :challenge
   has_many :posts
end

class Post < ActiveRecord::Base
   belongs_to :challenger
end

-Rob

Rob Biedenharn http://agileconsultingllc.com
Rob@AgileConsultingLLC.com