On Wednesday, February 20, 2019 at 10:55:28 AM UTC-8, Jeremy Evans wrote: > > On Wednesday, February 20, 2019 at 10:04:52 AM UTC-8, > [email protected] wrote: >> >> It is exactly what I want but the previous example returns the following >> error: >> LocalJumpError: no block given (yield) >> from >> /Users/ed/.rvm/gems/ruby-2.5.3/gems/sequel-5.16.0/lib/sequel/dataset/actions.rb:151:in >> >> `block in each' >> >> Dataset#paged_each execute Dataset#each which expect a block as argument. >> > > This looks like a bug in the implementation of paged_each in the postgres > adapter (and also the mysql2 adapter). I'll fix it shortly. >
OK, this should be fixed now in the master branch: https://github.com/jeremyevans/sequel/commit/1ba6f44800f8df876be5bfc64c84d2c4db22f22b https://github.com/jeremyevans/sequel_pg/commit/29cd59bdebf7529018423ca63727ed3af5faecbc 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 https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
