• S
    Remove all cases of manuallly wrapping `Arel::Nodes::Quoted` · f916aa24
    Sean Griffin 提交于
    This is no longer required now that we are injecting a type caster
    object into the Arel table, with the exception of uniqueness
    validations. Since it calls `ConnectionAdapter#type_cast`, the value has
    already been cast for the database. We don't want Arel to attempt to
    cast it further, so we need to continue wrapping it in a quoted node.
    This can potentially go away when this validator is refactored to make
    better use of `where` or the predicate builder.
    f916aa24
inheritance.rb 9.5 KB