tested in rails console for both post.user and user.posts.

Seems to work as expected.

Maybe I am missing something?