class ActiveRecord::ConnectionAdapters::SQLiteColumn
Public Class Methods
binary_to_string(value)
click to toggle source
# File lib/arjdbc/sqlite3/adapter.rb, line 587 def self.binary_to_string(value) if value.respond_to?(:encoding) && value.encoding != Encoding::ASCII_8BIT value = value.force_encoding(Encoding::ASCII_8BIT) end value end
new(name, *args)
click to toggle source
Calls superclass method
ActiveRecord::ConnectionAdapters::JdbcColumn.new
# File lib/arjdbc/sqlite3/adapter.rb, line 575 def initialize(name, *args) if Hash === name super else super(nil, name, *args) end end
string_to_binary(value)
click to toggle source
# File lib/arjdbc/sqlite3/adapter.rb, line 583 def self.string_to_binary(value) value end