Re: Should Sequel continue shipping tests in the gem?

2020-01-31 Thread Jeremy Evans
On Saturday, January 18, 2020 at 11:27:50 AM UTC-8, Jeremy Evans wrote: > > Sequel has always shipped tests in the gem, so that users and packagers > can test it without cloning the repository, but it does make the gem > significantly larger. I'm open to feedback on whether Sequel should > cont

Re: Initialize a Sequel Database from Pg::Connection

2020-01-31 Thread Jeremy Evans
On Friday, January 31, 2020 at 9:41:17 AM UTC-8, Bj Lawson wrote: > > Hi Jeremy -- we are in the same situation here, updating a mature Rails > 4.2 app to Rails 5. It looks like one of the best things we can do to > improve the performance of our tests and builds is to take advantage of > Rails

Re: Initialize a Sequel Database from Pg::Connection

2020-01-31 Thread Bj Lawson
Hi Jeremy -- we are in the same situation here, updating a mature Rails 4.2 app to Rails 5. It looks like one of the best things we can do to improve the performance of our tests and builds is to take advantage of Rails 5's new System Tests which use transactional fixtures... and our web app is

Re: Model class inheritance

2020-01-31 Thread Jeremy Evans
On Friday, January 31, 2020 at 2:34:14 AM UTC-8, Petr Kaleta wrote: > > Lets say we have two models UserAddress and VenueAddress. Every model has > its own table and it is referenced to its associated entity using > foreign_key (user_id and venue_id). As both models are addresses I want to > mak

Model class inheritance

2020-01-31 Thread 'Petr Kaleta' via sequel-talk
Lets say we have two models UserAddress and VenueAddress. Every model has its own table and it is referenced to its associated entity using foreign_key (user_id and venue_id). As both models are addresses I want to make a base class Address for it. How to do it using sequel? How can I create a

Re: Sequel continues to use disconnected connection

2020-01-31 Thread Jurgens du Toit
On Wednesday, January 29, 2020 at 4:58:52 PM UTC+2, Jeremy Evans wrote: > > On Wednesday, January 29, 2020 at 12:35:49 AM UTC-8, Jurgens du Toit wrote: >> >> I'm not sure if it's my setup causing this, but in my logs I see a >> connection that dies, but then Sequel continues trying to use the >