On Sunday, January 12, 2020 at 2:25:10 AM UTC-8, Bernhard Weichel wrote: > > Hi > > I have an application running with ruby 1.93 and sequel 4.18.0. I have > statements like > > ogdb.projectcategorys.where('Zuordnungssperre = FALSE') > > No we want to upgrade the application to Ruby 2.6 and squel 5.28 the > statement now throws: >
First upgrade to Sequel 4.49.0. Then fix all of the deprecation warnings. Then upgrade to Sequel 5.28.0. The particular case you are running into is that you can no longer pass normal Ruby strings as filter expressions as it makes it easy to introduce security issues. You can use the auto_literal_strings extension that ships with Sequel if you want to keep using the old behavior. 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 sequel-talk+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/82865fd5-cf7b-467c-87ed-433fbb6dbdad%40googlegroups.com.