小编dan*_*ans的帖子

Rails,其中条件为非持久关联

有什么办法吗?

@destination.ratings.where(:name => 'monkey')
Run Code Online (Sandbox Code Playgroud)

当没有一个模型还存在?

activerecord ruby-on-rails

8
推荐指数
1
解决办法
1437
查看次数

标签 统计

activerecord ×1

ruby-on-rails ×1