class ActiveRecord::Relation::QueryAttribute

def with_cast_value(value)

def with_cast_value(value)
  QueryAttribute.new(name, value, type)
end