repo.or.cz
/
monkeycharger.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Upgraded Rails and RSpec
[monkeycharger.git]
/
vendor
/
rails
/
activerecord
/
test
/
fixtures
/
book.rb
blob
cfd07abddc83ada2803230e3a43cdd0959af07ed
1
class Book < ActiveRecord::Base
2
has_many :citations, :foreign_key => 'book1_id'
3
has_many :references, :through => :citations, :source => :reference_of, :uniq => true
4
end