Answers for "how to check database name in rails"

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 check database name in rails"

Browse Popular Code Answers by Language