Answers for "how to find a database name into ruby on rails app"

1

rails get current database name

Rails.configuration.database_configuration["development"]["database"]
Posted by: Guest on November-23-2020

Code answers related to "how to find a database name into ruby on rails app"

Browse Popular Code Answers by Language