Methods
Public Class methods
[ show source ]
# File lib/og/sti.rb, line 8
8: def self.included(base)
9: # This class is a superclass in a single table inheritance
10: # chain. So inject a special class ogtype field that
11: # holds the class name.
12:
13: base.attr_accessor :ogtype, String, :sql => "VARCHAR(50)"
14: base.extend SchemaInheritanceClass
15: end