Sha256: 79a01893bdfbf2bc3a95e20e6d18af396e3bd3ad0a6a841cf571f069b15405cf
Contents?: true
Size: 347 Bytes
Versions: 7
Compression:
Stored size: 347 Bytes
Contents
# frozen_string_literal: true 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
7 entries across 7 versions & 2 rubygems