From b2aa46ff40f1c37b5a447c0efca7f96f7a10ad16 Mon Sep 17 00:00:00 2001 From: Sharang Dashputre Date: Tue, 16 Apr 2019 13:43:15 +0530 Subject: Format a comment to not show up as code [ci skip] --- activerecord/lib/active_record/connection_handling.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/connection_handling.rb b/activerecord/lib/active_record/connection_handling.rb index 6782833c5a..040ebdb960 100644 --- a/activerecord/lib/active_record/connection_handling.rb +++ b/activerecord/lib/active_record/connection_handling.rb @@ -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. -- cgit v1.2.3