We have been using version 4.49.0, and it was working very well. with this 
code


CameraActivity.db = Sequel.connect(ENV['SNAPSHOT_DATABASE_URL'], 
max_connections: 100)


But after update to new version I am getting an error as 

Cannot use Sequel::Model.db= on model with existing dataset.  Use 
Sequel::Model.dataset= instead.


my model looks like



require 'active_support/core_ext/object/blank'
class CameraActivity < Sequel::Model

end

Can anyone please point what I am doing wrong here? 

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to