wazery / ratyrate

:star: A Ruby Gem that wraps the functionality of jQuery Raty library, and provides optional IMDB style rating.

Home Page:http://ratingmoviestore.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ratyrate needs refresh to load stars

frcake opened this issue · comments

commented

i have tried to do everything stated in the issue page STILL nowhere near in solving it..

Here's my application.js

//= require jquery
//= require jquery.turbolinks
//= require jquery_ujs
//= require bootstrap
//= require pictures
//= require turbolinks
//= require jquery.raty
//= require ratyrate
//= require_tree .
gem 'ratyrate', :github => 'wazery/ratyrate'
gem 'jquery-turbolinks'

changed from simple ratyrate to the one from github , ran bundle update .. nothing changed..

This is my application.html.erb tell me if you see something stupid here 👍

 <head>
    <title>Brokr</title>
    <%= csrf_meta_tags %>
    <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
    <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>


    <link href='https://fonts.googleapis.com/css?family=Roboto:100,500,300,700&subset=greek,latin' rel='stylesheet' type='text/css'>

    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
    <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">


  </head>

  <body>

Any ideas guys? ..

commented

//= require jquery
//= require jquery.turbolinks
//= require jquery_ujs
//= require bootstrap
//= require pictures
//= require jquery.raty
//= require ratyrate
//= require_tree .

i just completely removed turbolinks