ActiveRecord extension to find out nearby records (previous and next) from the ActiveRelation scopes (using AREL).