Update lib/acts_as_rateable/acts_as_rateable.rb

fix error in current rails version