aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/citation.rb
blob: 7d06387f565a70d2355ee50ecc86baaa02b62a49 (plain) (blame)
1
2
3
class Citation < ActiveRecord::Base
  belongs_to :reference_of, class_name: "Book", foreign_key: :book2_id
end