From df97ed5e4c986be875248ec1b27d7acfc200ae9c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 18 Mar 2006 03:39:18 +0000 Subject: Nicer error message on has_many :through when :through reflection can not be found (closes #4042) [court3nay@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3910 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/author.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activerecord/test/fixtures/author.rb') diff --git a/activerecord/test/fixtures/author.rb b/activerecord/test/fixtures/author.rb index 8c6cee51e4..0f0d1b12d9 100644 --- a/activerecord/test/fixtures/author.rb +++ b/activerecord/test/fixtures/author.rb @@ -22,6 +22,8 @@ class Author < ActiveRecord::Base has_many :categorizations has_many :categories, :through => :categorizations + + has_many :nothings, :through => :kateggorisatons, :class_name => 'Category' attr_accessor :post_log -- cgit v1.2.3