Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

readme is changed

  • Loading branch information...
commit 63e6151a09b15bbf5a0be2fbc141d3cd7f67c2af 1 parent 2780b55
@muratguzel authored
Showing with 6 additions and 3 deletions.
  1. +6 −3 README.md
View
9 README.md
@@ -26,7 +26,10 @@ Also the generator copies necessary files (jquery raty plugin files, star icons
Example:
-Suppose you will have a devise user model which name is User. The generator should be like below
+Suppose you will have a devise user model which name is User. The devise generator and letsrate generator should be like below
+
+ rails g devise:install
+ rails g devise user
rails g letsrate user # => user is the model generated by devise
@@ -65,8 +68,8 @@ new rating value from authenticated user.
If you need to change the star number, you should use star option like below.
Speed : <%= rating_for @car, "speed", :star => 10 %>
- Speed : <%= rating_for @car, "speed", :star => 7 %>
- Speed : <%= rating_for @car, "speed" %>
+ Speed : <%= rating_for @car, "engine", :star => 7 %>
+ Speed : <%= rating_for @car, "price" %>
### Important
Please sign in to comment.
Something went wrong with that request. Please try again.