On Wednesday, October 1, 2014 9:28:00 PM UTC-7, Gary Casterline wrote: > > Hi, > > I inherited some code and naively updated sequel to version 4, thus > breaking the app. > Now I've locked the version back to 3.48.0 and I'm monitoring the > deprecation warning (as I should have before!). > > How would one best translate this sort of thing: > > DB[:recall][:id=>id] = request.POST > > in such a way that it will run with sequel v4? >
Doesn't the deprecation message say that you should load the sequel_3_dataset_methods extension?: DB.extension :sequel_3_dataset_methods Note that the code you posted is probably a bad idea from a security perspective, since it allows a user to change any of the columns to any value. 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
