阅读背景:

Ruby on Rails使用连接进行ActiveRecord查询

来源:互联网 

I have a User model and the user has a relationship which is has_many pets. I want to be able to write an ActiveRecord query where I can select all users with a pet that doesn't have a pet.name of "fluffy"I have a User model and the user has a relation




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: