add acts_as_rateable to activerecord