Mock out what we need from AR::Base.
generated_association_methods() Instance Public methods
klass() Instance Public methods Returns the class for the macro.
column(column_name, type, options = {}) Instance Public methods Adds a new column
create_current(environment = env) Instance Public methods
define_method_attribute(name) Instance Protected methods
type_cast(value) Instance Public methods
exec_update(sql, name, binds) Instance Public methods Executes update sql
id=(value) Instance Public methods Sets the primary key value.
after_teardown() Instance Public methods
attr_readonly(*attributes) Instance Public methods Attributes listed as readonly
Page 47 of 100