更新时间:2023-02-04 21:43:07
您可以调用 establish_connection 和新参数,然后使用
establish_connection
You can call establish_connection with your new parameters and then use connection normally.
connection
在Ruby on Rails中动态连接到第二个MySQL数据库
如何在Ruby on Rails中将数组持久化到数据库?
如何在Ruby on Rails中将类添加到select_tag
在 ruby on rails 中连接到多个数据库
无法将Ruby on Rails连接到远程mysql数据库
如何在Ruby on Rails中创建锚点并重定向到此特定锚点
如何在 Ruby on Rails 中创建一个锚点并重定向到这个特定的锚点