Mock out what we need from AR::Base.
scoping() Instance Public methods Scope all queries to the current scope.
establish_connection(owner, spec) Instance Public methods
find(*args) Instance Public methods Find by id - This can either be a specific
disconnect!() Instance Public methods Disconnects from the database if already
supports_statement_cache?() Instance Public methods Returns true, since this
hash() Instance Public methods Delegates to id in order to allow two records
reflections() Instance Public methods Returns a
supports_ddl_transactions?() Instance Public methods
enable_extension(name) Instance Public methods
registered_type?(name) Class Public methods Is name a registered
Page 90 of 100