You almost have it.
@accountsfrompseudo = Enpseudo.find(userpseudo.enpseudo_id,
:include => :accounts)
Or if your "third table" (assuming Userpseudo model)
class Userpseudo
belongs_to :enpseudo
end
Then you get the same result with:
@accounts_from_pseudo = userpseudo.user.accounts
-Rob
Rob Biedenharn http://agileconsultingllc.com
Rob@AgileConsultingLLC.com