I'm using Sequel with Rails 3.1.0, and connecting to my database by
simply passing a database url in a config var to Sequel.connect - the
standard way of doing it. It seems that when Heroku runs the asset
precompilation rake task during a deploy, my config vars apparently
aren't available to the
I wound up solving this by establishing the DB connection unless
Rails.env.production? Rails.groups.include?('assets'). It seems to
work alright.
On Sep 13, 12:22 pm, Chris Hanks christopher.m.ha...@gmail.com
wrote:
I'm using Sequel with Rails 3.1.0, and connecting to my database by
simply