Method: Bookfile::Database#connect

Defined in:
lib/bookfile/database/database.rb

#connectObject



11
12
13
14
15
# File 'lib/bookfile/database/database.rb', line 11

def connect
  print "  connecting..."
  ActiveRecord::Base.establish_connection( @db_config )
  puts "OK"
end