diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-16 15:19:06 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-16 15:23:57 +0900 |
commit | 189b8a06dc703f7a8477f877f0a02e23dd691ed8 (patch) | |
tree | d4c11a0c8abf9d695d30fb7de4ea7076840aa2f9 /actioncable/lib/rails | |
parent | 1766e8e6ff9133b8254937791d48eedf2a3f7864 (diff) | |
download | rails-189b8a06dc703f7a8477f877f0a02e23dd691ed8.tar.gz rails-189b8a06dc703f7a8477f877f0a02e23dd691ed8.tar.bz2 rails-189b8a06dc703f7a8477f877f0a02e23dd691ed8.zip |
Use `where(id: 10)` rather than `where(relation.table[:id].eq(10))`
Because Arel is a private API and to describe `where_values_hash` keys
constructed by `where` are string.
Diffstat (limited to 'actioncable/lib/rails')
0 files changed, 0 insertions, 0 deletions