module Reorm::TableBacked

A module that defines the data and methods for a class that is backed on to a database table.

Public Class Methods

included(target) click to toggle source
# File lib/reorm/modules/database_modules.rb, line 45
def TableBacked.included(target)
  target.extend(ClassDatabaseSettings)
  target.extend(PrimaryKeyedClassMethods)
  target.include(PrimaryKeyedInstanceMethods)
end