私はデータベースに対して実行されているいくつかの統合テストを取得しています、と私はこのような何かに見える構造したいのです: class OracleMixin(object):
oracle = True
# ... set up the oracle connection
class SqlServerMixin(object):
sql_server = Tr
に混入モジュールの初期化I持っているこの: class Bullet < ActiveRecord::Base
include StagedVersionMethods
...
end
そしてこの module StagedVersionMethods
def initialize
puts self.bullet_id
end
end