# coding: utf-8 module BlsmMpWx class BaseRecord < ActiveRecord::Base self.configurations = YAML::load(ERB.new(BlsmMpWx::DB_CONFIG).result) establish_connection Rails::env.to_s.to_sym self.table_name='vd_mp_wxes' end end