Advanced Rating for Rails