I personally find it easier to reason about, but it's functionally
equivalent.


On Tue, Oct 15, 2013 at 11:07 AM, Dan Croak <notifications@github.com>wrote:

> In templates/unicorn.rb:
>
> > @@ -21,6 +21,9 @@
> >    end
> >
> >    if defined? ActiveRecord::Base
> > -    ActiveRecord::Base.establish_connection
> > +    config = Rails.application.config.database_configuration[Rails.env]
> > +    config['reaping_frequency'] = (ENV['DB_REAPING_FREQUENCY'] || 10).to_i
>
> What's the advantage of fetch?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/thoughtbot/suspenders/pull/234/files#r6977310>
> .
>