RailsCasts Pro episodes are now free!

Learn more or hide this

Vincent Paca's Profile

GitHub User: vincentpaca

Site: vincentpaca.posterous.com

Comments by Vincent Paca

Avatar

Geocoder is a great gem and works perfectly fine for me until
I added will_paginate to paginate the results using .near()

ruby
@jobs = Job.near(@address, @miles).paginate(:page => params[:page], :per_page => 10)

It never gives me the correct number of items on the view which is really weird. Any help would be appreciated, thanks!