Comments (5)
1 step: Please paste the following lines to application.js file:
//= require jquery.raty
//= require letsrate
2 step: Execute the following cmd line in your terminal:
rake assets:precompile RAILS_ENV=production
3 step: Copy .png files from /images folder into /public/assets directory
star-half.png
star-off.png
start-on.png
4 step: execute the following cmd line in your terminal:
rails s -e production
I am using NetBeans IDE environment, Rails 4.2 and letsrate gem 1.0.9
from letsrate.
No help is required, I figured that out :)
from letsrate.
can you share the solution with us?
from letsrate.
Have the same problem...
from letsrate.
In view file:
<% content_for :javascript_includes do %>
<%= javascript_include_tag 'jquery.raty.js','letsrate.js.'%>
<% end %
In application view:
<%= yield :javascript_includes %>
This is helps me
from letsrate.
Related Issues (20)
- `has_many': wrong number of arguments (3 for 2) (ArgumentError) HOT 5
- Single Table Inheritance support HOT 1
- letsrate only compatible with rails 4?
- Display rating_for in index view?
- Undefined variable 'current_user' HOT 1
- nvm
- Migration error on "rails g letsrate user" HOT 1
- Lets Rate gem with field_for
- Not displaying star rating with turbolinks
- Heorku demo app source
- Travis build failed HOT 7
- Rails 4.1 compatibility? HOT 7
- Stars doesn't show in productions HOT 2
- What is gem's license?
- Make it work without devise.
- `create_migration': wrong number of arguments (3 for 0) (ArgumentError) HOT 1
- From left to Right
- Dynamic rate
- add a LICENSE file?
- No route matches [POST]??
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from letsrate.