Method: ActiveRecord::ConnectionAdapters::NuoDBColumn.binary_to_string
- Defined in:
- lib/active_record/connection_adapters/nuodb_adapter.rb
.binary_to_string(value) ⇒ Object
100 101 102 |
# File 'lib/active_record/connection_adapters/nuodb_adapter.rb', line 100 def binary_to_string(value) value =~ /[^[:xdigit:]]/ ? value : [value].pack('H*') end |