mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
3327cd3f61
This will allow all types which require no additional handling to use prepared statements. Specifically, this will allow for `true`, `false`, `Date`, `Time`, and any custom PG type to use prepared statements. This also revealed another source of nil columns in bind params, and an inconsistency in their use. The specific inconsistency comes from a nested query coming from a through association, where one of the inversed associations is not bi-directional. The stop-gap is to simply construct the column at the site it is being used. This should simply go away on its own once we use `Attribute` to represent them instead, since we already have all of the information we need. |
||
---|---|---|
.. | ||
predicate_builder | ||
batches.rb | ||
calculations.rb | ||
delegation.rb | ||
finder_methods.rb | ||
merger.rb | ||
predicate_builder.rb | ||
query_methods.rb | ||
spawn_methods.rb |