Module: Miteru::Concerns::DatabaseConnectable

Extended by:
ActiveSupport::Concern
Included in:
Jobs::CrawleJob
Defined in:
lib/miteru/concerns/database_connectable.rb

Overview

Database connectable concern

Instance Method Summary collapse

Instance Method Details

#with_db_connection(&block) ⇒ Object



11
12
13
# File 'lib/miteru/concerns/database_connectable.rb', line 11

def with_db_connection(&block)
  Database.with_db_connection(&block)
end