This line will break in development (the app won't even load) if you don't have these env vars set.
This shouldn't be required to just start the app in development mode. One thought is to lazily load the connections, but these should be thread safe as doing a
def self.redshift_db
@redshift_db ||= Sequel.connect()
end
is NOT thread safe. Perhaps assign them to a thread local var.