Paginating acts_as_locateable

is there anyone familiar with the acts_as_locateable plugin? i’m
playing around with it for the first time and trying to figure out how
to paginate the results.

currently i am using the will_paginate plugin and am having some
difficulties. i think one of my biggest problems is that i’m still new
to some of the ruby syntax when it comes to processing blocks. there
is a lot of:

method(value, *args) do

which is where i’m getting lost. if someone has been able to figure
this out already, i would very much appreciate the help or maybe any
suggestions of another library/plugin that would work in the same way.

i’d also appreciate any resources regarding blocks in ruby, as i’m
still having a little trouble wrapping my head around them.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs