# File lib/class_table_inheritance.rb, line 24
    def class_table_inheritance(options = {})
      table_name = options[:subclass_table] || name.demodulize.tableize
      primary_key_name = options[:subclass_foreign_key] || "#{superclass.name.demodulize.underscore}_id"
      
      has_extra_columns_from(
                             :table => table_name, :foreign_key => primary_key_name,
                             :proxy_class_name => 'ExtraColumns',
      :proxy_class_belongs_to => self.name,
      :delegate_new_associations => true,
      :save_before_superclass_callbacks => true
      )
    end