Skip to content

Commit

Permalink
Database Loader
Browse files Browse the repository at this point in the history
Changing ActiveRecord logger level

Signed-off-by: Rodrigo Nardi <[email protected]>
  • Loading branch information
RodrigoMNardi committed May 30, 2024
1 parent 9413fa9 commit 19b9954
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions database_loader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
OTR::ActiveRecord.db_dir = 'db'
OTR::ActiveRecord.migrations_paths = ['db/migrate']
OTR::ActiveRecord.configure_from_file! 'config/database.yml'
ActiveRecord::Base.logger.level = Logger::WARN

Dir['lib/models/*.rb'].each { |model| require_relative model }

Expand Down

0 comments on commit 19b9954

Please sign in to comment.