Froze rails gems
[depot.git] / vendor / rails / activerecord / test / models / book.rb
diff --git a/vendor/rails/activerecord/test/models/book.rb b/vendor/rails/activerecord/test/models/book.rb
new file mode 100644 (file)
index 0000000..cfd07ab
--- /dev/null
@@ -0,0 +1,4 @@
+class Book < ActiveRecord::Base
+  has_many :citations, :foreign_key => 'book1_id'
+  has_many :references, :through => :citations, :source => :reference_of, :uniq => true
+end