quoted_table_name

quoted_table_name() Instance Public methods Returns a quoted version of the table name, used to construct SQL statements.

inheritance_column=

inheritance_column=(value) Instance Public methods Sets the value of #inheritance_column

inheritance_column

inheritance_column() Instance Public methods Defines the name of the table column which will store the class name on single-table inheritance situations. The default inheritance column name is type, which means it's a reserved word inside Active Record. To be able to use single-table inheritance with another column name, or to use the column type in your own model for something else, you can set inheritance_column: self.inheritance_column = 'zoink'

content_columns

content_columns() Instance Public methods Returns an array of column objects where the primary id, all columns ending in â_idâ or â_countâ, and columns used for single table inheritance have been removed.

columns_hash

columns_hash() Instance Public methods Returns a hash of column objects for the table associated with this class.

columns

columns() Instance Public methods Returns an array of column objects for the table associated with this class.

column_names

column_names() Instance Public methods Returns an array of column names as strings.

column_defaults

column_defaults() Instance Public methods Returns a hash where the keys are column names and the values are default values when instantiating the AR object for this table.

mtime

mtime() Instance Public methods

basename

basename() Instance Public methods