Query in rails by just doing 1.user or 1.post or 1.comment
github.com