TalentBox / sequel-rails

A gem for using Sequel with Rails 5.x, 6.x, 7.x, 8.x
http://talentbox.github.io/sequel-rails/
MIT License
326 stars 81 forks source link

Add test_connect option #165

Closed p-leger closed 6 years ago

p-leger commented 6 years ago

Hey,

Since Sequel version 5.0.0, the Sequel#connect option 'test' is true by default. Thus sequel tries to connect to the database as soon as possible.

This causes rake tasks like assets:precompile to fail if there is no database present.

(I forgot to add some info to the readme, I'll do that once i find the time.)

Cheers.

JonathanTron commented 6 years ago

Hi @p-leger, thanks for the great work!

pdifranc commented 5 years ago

@JonathanTron Are you planning to release a new tag that includes this new option anytime soon?

JonathanTron commented 5 years ago

@pdifranc Yes, I plan to work on Rails 6.x compatibility next week. I'll release a new version with this change then.