Thanks Jeremy. The search "rubygems sequel" in google brought me to the page with version 4.36.0. Best , Thibaut
Le mer. 21 avr. 2021 à 16:34, Jeremy Evans <[email protected]> a écrit : > > On Wed, Apr 21, 2021 at 3:27 AM [email protected] < > [email protected]> wrote: > >> Hello, >> >> When upgrading from Ruby 2.7 to Ruby 3, I encountered a few problems with >> Sequel. The BigDecimal gem removed one problem (due to Ruby 3 not >> supporting BigDecimal any longer). >> >> A simple : `@users = DB[:users].where(:id => 1)` >> >> causes >> >> 2021-04-21 12:17:19 - ArgumentError - wrong number of arguments (given 2, >> expected 1): >> /home/moi/.rvm/gems/ruby-3.0.1/gems/sequel-4.49.0/lib/sequel/dataset/misc.rb:343:in >> `initialize_copy' >> >> Are there any work arounds yet? Or should I stick with Ruby 2.7.0 for the >> time being? >> > > You should upgrade to the current version of Sequel (5.43.0). It's > impossible to make guarantees that any version of Sequel will be compatible > with a Ruby version released over 3 years after it. All I can do is make > sure that the current version of Sequel works on newer Ruby versions. > > Thanks, > Jeremy > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/sequel-talk/CADGZSSdgTbOBnOyT7rsFA1J9_Wu3-%3D50qTOozLLeqgMm9g%2BpjQ%40mail.gmail.com > <https://groups.google.com/d/msgid/sequel-talk/CADGZSSdgTbOBnOyT7rsFA1J9_Wu3-%3D50qTOozLLeqgMm9g%2BpjQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/CANpyn0E7ogQ7xm9b2LSP-%3D2U%2Ba1GY6zfjWgrtmA0EQB-M09b6w%40mail.gmail.com.
