aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorBenjamin Floering <floering@ieee.org>2009-05-17 23:35:47 -0700
committerPratik Naik <pratiknaik@gmail.com>2009-05-18 13:56:17 +0200
commit27de7f150b57a18d4ccdd274f6f8b621b58108c6 (patch)
tree266fe0c48b0920757c3e65fa44413c5426a85b7b /activerecord/test/schema
parent49afe81a13a98d1878f2400bef11a7b89468dff0 (diff)
downloadrails-27de7f150b57a18d4ccdd274f6f8b621b58108c6.tar.gz
rails-27de7f150b57a18d4ccdd274f6f8b621b58108c6.tar.bz2
rails-27de7f150b57a18d4ccdd274f6f8b621b58108c6.zip
Fixed limited eager loading associations with numbers in the name [#2668 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index 4ee0ffe132..6e8813d8ab 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -324,6 +324,7 @@ ActiveRecord::Schema.define do
t.string :first_name, :null => false
t.references :primary_contact
t.string :gender, :limit => 1
+ t.references :number1_fan
t.integer :lock_version, :null => false, :default => 0
end