1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/lib
Sean Griffin 7a29220c68 Adjust BindParam as needed for AR
We need `value` to have a writer for `StatementCache` to work when
prepared statements are disabled. This is something I'd like to revert
eventually, either by disabling that form of caching in that case or
re-introducing something like the old `Bind` collector.

The addition of `nil?` is to make `IS NULL` be inserted correctly,
similar to what we already do with quoted and casted nodes
2017-07-24 08:04:56 -04:00
..
arel Adjust BindParam as needed for AR 2017-07-24 08:04:56 -04:00
arel.rb Enable frozen_string_literal in all files in arel 2017-02-13 16:03:32 -03:00