]> git.openstreetmap.org Git - rails.git/blobdiff - vendor/gems/composite_primary_keys-2.2.2/test/fixtures/user.rb
Remove ancient (and unused) composite_primary_keys gem
[rails.git] / vendor / gems / composite_primary_keys-2.2.2 / test / fixtures / user.rb
diff --git a/vendor/gems/composite_primary_keys-2.2.2/test/fixtures/user.rb b/vendor/gems/composite_primary_keys-2.2.2/test/fixtures/user.rb
deleted file mode 100644 (file)
index 6744818..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-class User < ActiveRecord::Base
-  has_many :readings
-  has_many :articles, :through => :readings
-  has_many :comments, :as => :person
-  has_many :hacks, :through => :comments, :source => :hack
-  
-  def find_custom_articles
-    articles.find(:all, :conditions => ["name = ?", "Article One"])
-  end
-end