1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Format a comment to not show up as code [ci skip]

This commit is contained in:
Sharang Dashputre 2019-04-16 13:43:15 +05:30
parent 20b94af9eb
commit b2aa46ff40

View file

@ -109,8 +109,8 @@ module ActiveRecord
# a role. If you would like to use a different role you can pass a hash to database:
#
# ActiveRecord::Base.connected_to(database: { readonly_slow: :animals_slow_replica }) do
# Dog.run_a_long_query # runs a long query while connected to the +animals_slow_replica+
# using the readonly_slow role.
# # runs a long query while connected to the +animals_slow_replica+ using the readonly_slow role.
# Dog.run_a_long_query
# end
#
# When using the database key a new connection will be established every time.