Picky and semantic search for a Rails application

I am working on implementing Picky semantic search on a rails app, however i am having problem with the javascript maybe the routing sometimes it is not even recognizing the partials.
This is the project page http://pickyrb.com/ and i am trying to implement the javascript autocomplete search.
i am working on this git repository GitHub - bennacer860/picky_rails_example: A tentative to integrate picky in a Rails application with the JS search feature and i am using this tutorial Picky Active Record 2 , what am i doing wrong?
I don’t know if you had ever worked with this ruby gem. Your help would be much appreciated.

i fixed my problem and pushed the solution