new

new() Class Public methods

get_release_type_name

get_release_type_name(*args) Class Public methods

transaction

transaction(read_only = false) Instance Public methods Opens a new transaction for the data store. Code executed inside a block passed to this method may read and write data to and from the data store file. At the end of the block, changes are committed to the data store automatically. You may exit the transaction early with a call to either #commit or #abort. See those methods for details about how changes are handled. Raising an uncaught Exception in the block is equivalent t

create

create(attributes = {}, &block) Instance Public methods Returns a new object of the collection type that has been instantiated with attributes, linked to this object and that has already been saved (if it passes the validations). class Person has_many :pets end person.pets.create(name: 'Fancy-Fancy') # => #<Pet id: 1, name: "Fancy-Fancy", person_id: 1> person.pets.create([{name: 'Spook'}, {name: 'Choo-Choo'}]) # => [ # #<Pet id: 2, name: "Spook", person_

version

version() Class Public methods Also aliased as: xshape_version

last_inserted_id

last_inserted_id(result) Instance Public methods

addr

ipsocket.addr([reverse_lookup]) => [address_family, port, hostname, numeric_address] Instance Public methods Returns the local address as an array which contains address_family, port, hostname and numeric_address. If reverse_lookup is true or :hostname, hostname is obtained from numeric_address using reverse lookup. Or if it is false, or :numeric, hostname is same as numeric_address. Or if it is nil or ommitted, obeys to ipsocket.do_not_reverse_lookup. See Socket.getaddrinfo al

clear_reloadable_connections!

clear_reloadable_connections!() Instance Public methods Clears the cache which maps classes.

mark_previous

mark_previous(index) Instance Public methods Also aliased as: previous_mark

ownerDocument

ownerDocument() Instance Public methods IXMLDOMDocument ownerDocument document that contains the node