5292899c9a
Updated Instiki to Rails 2.1 RC1 (aka 2.0.991).
5 lines
174 B
Ruby
5 lines
174 B
Ruby
class Book < ActiveRecord::Base
|
|
has_many :citations, :foreign_key => 'book1_id'
|
|
has_many :references, :through => :citations, :source => :reference_of, :uniq => true
|
|
end
|