1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/models/teapot.rb

36 lines
537 B
Ruby
Raw Normal View History

2011-12-18 18:35:25 -05:00
class Teapot
# I'm a little teapot,
# Short and stout,
# Here is my handle
# Here is my spout
# When I get all steamed up,
# Hear me shout,
# Tip me over and pour me out!
#
# HELL YEAH TEAPOT SONG
include ActiveRecord::Model
end
class OtherTeapot < Teapot
end
class OMFGIMATEAPOT
def aaahhh
"mmm"
end
end
class CoolTeapot < OMFGIMATEAPOT
include ActiveRecord::Model
self.table_name = "teapots"
end
2011-12-24 05:23:19 -05:00
class Ceiling
include ActiveRecord::Model
class Teapot
include ActiveRecord::Model
end
end