不在 activerecord rails 的地方
not in rewhere active record rails
如何在 active_record 中将 'not' 与 'rewhere' 语句一起使用?
错误示例(无效):
Field.where(name: 'Bukk').rewhere.not(name: 'Tolgy')
如何在 active_record 中将 'not' 与 'rewhere' 语句一起使用?
错误示例(无效):
Field.where(name: 'Bukk').rewhere.not(name: 'Tolgy')