您好,这是我在本地开发环境(SQLite)上运行良好的 ActiveRelation 查询
@table2_items = @table1var.table2_items.find(:all, conditions: ["status1 is ? AND status2 is ? AND start_datetime > ?", true, nil, Time.now.to_datetime], order: [:field_id, :created_at])
我认为这只是一个语法错误......有人可以帮忙吗?谢谢