I have to following model
User
has_many :threads
....
Thread
belongs_to :user
has_many :posts
....
Post
belongs_to :thread
....
To get all Threads from a user i can just User.find( params[:id]).threads
How can i get all posts from a user ?
User.find(params[:id]).posts
should do the trick unless I’m dain-bramaged this morning.