How to print or get Rails database name from Rails console?
Rails.configuration.database_configuration[Rails.env]