Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: d5fe242d2a
Fetching contributors…

Cannot retrieve contributors at this time

5 lines (4 sloc) 0.201 kB
class Friendship < ActiveRecord::Base
belongs_to :friend, :class_name => 'Person'
belongs_to :follower, :foreign_key => 'friend_id', :class_name => 'Person', :counter_cache => :followers_count
end
Jump to Line
Something went wrong with that request. Please try again.