method

string_to_binary

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

string_to_binary(value)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/sybase_adapter.rb, line 108
        def self.string_to_binary(value)
          "0x#{value.unpack("H*")[0]}"
        end