Answers for "check current database in rails"

1

rails get current database name

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

Browse Popular Code Answers by Language