class Rating < ActiveRecord::Base
  belongs_to :friendee, :polymorphic=>true
  belongs_to :friendor, :polymorphic=>true
  validates_uniqueness_of :friendee_id, :scope=> :friendor_id
end

class Friending < ActiveRecord::Base
  belongs_to :friendee, :polymorphic=>true
  belongs_to :friendor, :polymorphic=>true
  validates_uniqueness_of :friendee_id, :scope=> :friendor_id
end

Change Rating to Friending (this file was copied from rating.rb)
Change Rating to Friending (this file was copied from rating.rb)
