aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation/query_methods.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-07-16 15:19:06 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-07-16 15:23:57 +0900
commit189b8a06dc703f7a8477f877f0a02e23dd691ed8 (patch)
treed4c11a0c8abf9d695d30fb7de4ea7076840aa2f9 /activerecord/lib/active_record/relation/query_methods.rb
parent1766e8e6ff9133b8254937791d48eedf2a3f7864 (diff)
downloadrails-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 'activerecord/lib/active_record/relation/query_methods.rb')
0 files changed, 0 insertions, 0 deletions