I don\'t understand how to get the columns I want from rails. I have two models - A User and a Profile. A User :has_many Profile (because users can revert back to an earlier
Try using select("*").joins(:table)
select("*").joins(:table)
In this case, you would type:
User.select("*").joins(:profile)
Hope that works for you.