diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-12-26 16:17:01 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-12-26 16:17:01 -0700 |
commit | 09369726346e44ccb6cbe9d020094e734669f957 (patch) | |
tree | 548d3c76d27edb9c98c41b7c6ebef01638920992 /activesupport | |
parent | b98668decb9712f26118de57623fd15d7d28646d (diff) | |
download | rails-09369726346e44ccb6cbe9d020094e734669f957.tar.gz rails-09369726346e44ccb6cbe9d020094e734669f957.tar.bz2 rails-09369726346e44ccb6cbe9d020094e734669f957.zip |
We don't need to perform type casting on the STI condition
We will always have the correct type for this query, so no casting is
needed. We inform Arel that we already have the right type by wrapping
it in an `Arel::Nodes::Quoted` (which we will no longer need to do in
Rails 5.1)
Diffstat (limited to 'activesupport')
0 files changed, 0 insertions, 0 deletions