Sha256: c6fca6309c6f1afdf7021b17613ce3aac9af47a1207af8cf15123fb8ca375d2f
Contents?: true
Size: 379 Bytes
Versions: 2
Compression:
Stored size: 379 Bytes
Contents
# -*- encoding : utf-8 -*- require 'active_record' # establish connection ActiveRecord::Base.configurations = App.config.database_yml ActiveRecord::Base.establish_connection App.config.database_settings if ActiveRecord::VERSION::MAJOR == 2 class RubyAppDumpLogger def method_missing(method, *args) end end ActiveRecord::Base.logger = RubyAppDumpLogger.new end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-app-ar-0.1.2 | lib/init-activerecord.rb |
ruby-app-ar-0.1.1 | lib/init-activerecord.rb |