RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: vincentpaca
Site: vincentpaca.posterous.com
Geocoder is a great gem and works perfectly fine for me until I added will_paginate to paginate the results using .near()
@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!
Geocoder is a great gem and works perfectly fine for me until
I added will_paginate to paginate the results using .near()
It never gives me the correct number of items on the view which is really weird. Any help would be appreciated, thanks!