From 0e3e34f0eba32ebc561f56e8eda22ed9b8ad76c7 Mon Sep 17 00:00:00 2001 From: Jon Leighton Date: Sat, 24 Dec 2011 10:23:19 +0000 Subject: Support nested AR::Models --- activerecord/test/models/teapot.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'activerecord/test/models/teapot.rb') diff --git a/activerecord/test/models/teapot.rb b/activerecord/test/models/teapot.rb index 00e066a1b3..ff18b6a96d 100644 --- a/activerecord/test/models/teapot.rb +++ b/activerecord/test/models/teapot.rb @@ -22,3 +22,11 @@ class CoolTeapot < OMFGIMATEAPOT include ActiveRecord::Model self.table_name = "teapots" end + +class Ceiling + include ActiveRecord::Model + + class Teapot + include ActiveRecord::Model + end +end -- cgit v1.2.3