class Ansr::Model::ClassMethods::TypeProxy

Public Class Methods

new(table) click to toggle source
# File lib/ansr/model.rb, line 56
def initialize(table)
  @table = table
end

Public Instance Methods

[](name) click to toggle source
# File lib/ansr/model.rb, line 60
def [](name)
  # this should delegate to the NoSqlAdapter
  ::ActiveRecord::ConnectionAdapters::Column.new(name.to_s, nil, String)
end