edgarjs / ajaxful-rating

Provides a simple way to add rating functionality to your application.
http://rdoc.info/projects/edgarjs/ajaxful-rating
418 stars 127 forks source link

Parsing Issue #96

Open Jngai opened 11 years ago

Jngai commented 11 years ago

Why am I getting this error ?

/Users/judyngai/.rvm/gems/ruby-2.0.0-p195/gems/ajaxful_rating-2.2.9.1/lib/axr/model.rb:23: syntax error, unexpected ',', expecting => I made a new app in rails 4 and ruby 2.0 - the latest versions I installed the ajaxful-rating gem into my rails app and ran bundle install (version 2.2.9.1)

I changed my database yml file to use pg then do

rake db:create

and this error popped up. Is the gem not compatible with rails 4? I consider this issue before hand maybe I should switch to rails 3.2 ?

SanderMander commented 10 years ago

Same error with ruby 1.9.3 and rails 3.2.16