~michaelforrest/use-case-mapper/trunk

« back to all changes in this revision

Viewing changes to vendor/rails/activerecord/test/models/book.rb

  • Committer: Michael Forrest
  • Date: 2010-10-15 16:28:50 UTC
  • Revision ID: michael.forrest@canonical.com-20101015162850-tj2vchanv0kr0dun
refrozeĀ gems

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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