Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Vincent Milliken's Profile

GitHub User: vincentmilliken


Comments by Vincent Milliken


I have an issue with this when im deploying my app to heroku, the vestal_versions gem works great locally but not on heroku. It seems that the versions are not working and my records are not being updated when I edit a post.

Anyone know whats going on?

Thanks, Vincent.


If you are using Paginate/kaminari with Sunspot use this code with in the index in the Controller.

@search = do
     fulltext params[:search]
    @snippets = Snippet.where(id:[:page]).per(5)