提交 bd5f1937 编写于 作者: A Aaron Patterson

adding a table and engine

上级 13903813
module Arel
end
require 'arel/version'
require 'arel/table'
require 'arel/sql/engine'
module Arel
module Sql
class Engine
def self.new thing
warn "#{caller.first} -- Engine will be removed"
thing
end
end
end
end
module Arel
class Table
@engine = nil
class << self; attr_accessor :engine; end
def initialize table_name, engine
@table_name = table_name
@engine = engine
end
def [] attribute
raise attribute
end
end
end
module Arel
VERSION = '0.4.1.beta.1'
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册