Rails and solr app