module ActiveType::NoTable::ClassMethods

Public Instance Methods

_query_by_sql(*) click to toggle source
# File lib/active_type/no_table.rb, line 147
def _query_by_sql(*)
  []
end
column_types() click to toggle source
# File lib/active_type/no_table.rb, line 11
def column_types
  {}
end
columns() click to toggle source
# File lib/active_type/no_table.rb, line 15
def columns
  []
end
connection() click to toggle source
# File lib/active_type/no_table.rb, line 131
def connection
  @connection ||= DummyConnection.new(nil)
end
destroy(*) click to toggle source
# File lib/active_type/no_table.rb, line 23
def destroy(*)
  new
end
destroy_all(*) click to toggle source
# File lib/active_type/no_table.rb, line 27
def destroy_all(*)
  []
end
find_by_sql(*) click to toggle source
# File lib/active_type/no_table.rb, line 31
def find_by_sql(*)
  []
end
primary_key() click to toggle source
# File lib/active_type/no_table.rb, line 19
def primary_key
  nil
end