Path: | doc/release_notes/3.44.0.txt |
Last Update: | Fri Oct 06 03:25:22 +0000 2017 |
This method is drop-in compatible for each. Previously, the pagination extension‘s each_page method could be used for a similar purpose, but users of each_page are now encouraged to switch to paged_each.
Album.one_to_many :artists, :dataset=>{Artist...}
you can now do:
Album.one_to_many :artists, :dataset=>{|r| r.associated_dataset...}
This second form will preform better.
# Second 5 rows ordered by column2 of the second 10 rows ordered # by column 1. DB[:table].order(:column1).limit(10, 10). from_self.order(:column2).limit(5, 5)
Row processing speed has been increased slightly for all adapters that supported databases where offsets are emulated.