Comments (3)
I've got this error after installing gem. Install proceedure seemed to go without errors...
create app/assets/javascripts/jquery.raty.js
create app/assets/images/star-on.png
create app/assets/images/star-off.png
create app/assets/images/star-half.png
create app/assets/javascripts/letsrate.js.erb
create app/controllers/rater_controller.rb
create app/models/rate.rb
create app/models/rating_cache.rb
route match '/rate' => 'rater#create', :as => 'rate'
create db/migrate/20121227075255359_create_rating_caches.rb
create db/migrate/20121227075255364_create_rates.rb
== CreateRatingCaches: migrating =============================================
-- create_table(:rating_caches)
-> 0.0124s
-- add_index(:rating_caches, [:cacheable_id, :cacheable_type])
-> 0.0195s
== CreateRatingCaches: migrated (0.0321s) ====================================
== CreateRates: migrating ====================================================
-- create_table(:rates)
-> 0.0110s
-- add_index(:rates, :rater_id)
-> 0.0156s
-- add_index(:rates, [:rateable_id, :rateable_type])
-> 0.0126s
== CreateRates: migrated (0.0396s) ===========================================
I'm running on rails 3.0.10 and letsrate v1.0.7
Stewart.
from letsrate.
Fixed this error for me... I had copied and pasted the rating_for call, I had for a model @Product...
= rating_for @CAR, "rating"
instead of
= rating_for @Product, "rating"
Stewart.
from letsrate.
Please use the new version of letstrate (1.0.8)
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.