Rating Model - belongs_to :ratable, :polymorphic => true
User Model & Comment Model & Picture Model - has_one :rating, :as
Okay, so now my "Ratings" table should have these columns:
ups = 5
downs = 2
ratable_id = 3
ratable_type = "user"
And that will automatically make user # 3 have user.rating.ups = 5
right? And the ratable_type will always use the singlular form, right?