LEFT OUTER joins in Rails 3

后端 未结 8 1945
自闭症患者
自闭症患者 2020-11-27 12:31

I have the following code:

@posts = Post.joins(:user).joins(:blog).select

which is meant to find all posts and return them and the associat

8条回答
提交回复
热议问题