muratguzel / letsrate

The best way to add rating capabilities to your rails application and your activerecord models.
http://letsrate.herokuapp.com
198 stars 234 forks source link

Migration error on "rails g letsrate user" #70

Closed bhaumikwork closed 10 years ago

bhaumikwork commented 10 years ago

/letsrate_generator.rb:37:in `create_migration': wrong number of arguments (3 for 0) (ArgumentError)

gem 'rails', '4.1.0' I have installed devise with user model. I got this error in rails 4 and letsrate version 1.0.9 while applying this command "rails g letsrate user".

Can you help me to solve this problem?

bhaumikwork commented 10 years ago

Solve this issue by changing the file "lib/generators/letsrate/letsrate_generator.rb" as previous discussed. Modify this file