Thank you Eileen, it is working as expected and i understand now.

On Wednesday, April 24, 2019 at 6:46:40 PM UTC+5:45, eileencodes wrote:
>
> The middleware needs to be configured in your environment so that you can 
> set the replica delay. See the docs here 
> https://github.com/rails/rails/blob/713cee01a5391b1ca56e25883c6c172ae59d7020/activerecord/lib/active_record/middleware/database_selector.rb#L33-L36.
>  
> This behavior s by design, and it should not turn on when you call 
> connect_to.
>
>>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to