Rails 6 Multiple Databases, readonly

37 views
Skip to first unread message

Dan Hanson

unread,
Jul 23, 2019, 5:18:42 PM7/23/19
to Ruby on Rails: Documentation
Greetings all,

I was wondering if there is currently a way in Rails 6 to configure a database connection as read-only?  If not, is this is a feature that is currently planned for the 6.0 release?

Thanks,

-Dan

Jeff

unread,
Jul 23, 2019, 5:29:44 PM7/23/19
to Ruby on Rails: Documentation
Yes, you can set replica: true in the database.yml file.


Jeff
Reply all
Reply to author
Forward
0 new messages