# Paginating acts\_as\_locateable

**URL:** <https://www.ruby-forum.com/t/paginating-acts-as-locateable/122044>\
**Category:** Rails\
**Created:** [December 4, 2007, 5:48am UTC](https://www.ruby-forum.com/t/paginating-acts-as-locateable/122044 "2007-12-04T05:48:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjkiesch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc79bd/32.png) [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Post date:** [December 4, 2007, 5:48am UTC](https://www.ruby-forum.com/t/paginating-acts-as-locateable/122044/1 "2007-12-04T05:48:14Z")

</div>

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  
yield  
end

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.

thanks,  
josh
