Query in rails by just doing 1.user or 1.post or 1.commentgithub.com/vasuakeel2 pointsvasuadari11 years ago