Question : find rails database
Answered by : poor-polecat-qwn30utleie1
Rails.configuration.database_configuration["development"]["database"]
Source : https://stackoverflow.com/questions/10001583/how-to-check-the-database-name-that-activerecord-uses | Last Update : Mon, 30 Nov 20