Sha256: 50bf46d88297fc78401b8c1a75a97caa3723aabade03c9e5978df3ac63cd81c9
Contents?: true
Size: 316 Bytes
Versions: 20
Compression:
Stored size: 316 Bytes
Contents
class Friendship < ActiveRecord::Base belongs_to :friend, class_name: 'Person' # friend_too exists to test a bug, and probably shouldn't be used elsewhere belongs_to :friend_too, foreign_key: 'friend_id', class_name: 'Person', counter_cache: :friends_too_count belongs_to :follower, class_name: 'Person' end
Version data entries
20 entries across 20 versions & 3 rubygems