Method: Bookfile::Bookfile#connect
- Defined in:
- lib/bookfile/bookfile.rb
#connect ⇒ Object
def setup
puts "[bookfile] setup database connections n models"
@databases.each do |database|
database.setup
end
end
68 69 70 71 72 73 |
# File 'lib/bookfile/bookfile.rb', line 68 def connect puts "[bookfile] connect to database(s)" @databases.each do |database| database.connect end end |