methods

methods(all=true) Instance Public methods Returns the methods available to this delegate object as the union of this object's and _getobj_ methods.

column_for_attribute

column_for_attribute(name) Instance Public methods Returns the column object for the named attribute. Returns nil if the named attribute not exists. class Person < ActiveRecord::Base end person = Person.new person.column_for_attribute(:name) # the result depends on the ConnectionAdapter # => #<ActiveRecord::ConnectionAdapters::SQLite3Column:0x007ff4ab083980 @name="name", @sql_type="varchar(255)", @null=true, ...> person.column_for_attribute(:nothing) # => nil

create

create(hkey, subkey, desired = KEY_ALL_ACCESS, opt = REG_OPTION_RESERVED) Class Public methods â ::create(key, subkey, desired = KEY_ALL_ACCESS, opt = REG_OPTION_RESERVED) â ::create(key, subkey, desired = KEY_ALL_ACCESS, opt = REG_OPTION_RESERVED) { |reg| ⦠} Create or open the registry key subkey under key. You can use predefined key HKEY_* (see Constants) If subkey is already exists, key is opened and #created? method will return false. If block is given, the key is closed auto

selectSingleNode

selectSingleNode(arg0) Instance Public methods IXMLDOMNode selectSingleNode execute query on the subtree BSTR arg0 --- queryString [IN]

clipping_window

clipping_window() Instance Public methods instance methods clipwin htmlclip

bar_exist?

bar_exist?(id) Instance Public methods

new

new(printer) Class Public methods

method_missing

method_missing(m, *args, &b) Instance Public methods

find_each

find_each(options = {}) Instance Public methods Looping through a collection of records from the database (using the all method, for example) is very inefficient since it will try to instantiate all the objects at once. In that case, batch processing methods allow you to work with the records in batches, thereby greatly reducing memory consumption. The find_each method uses find_in_batches with a batch size of 1000 (or as specified by the :batch_size option). Person.find_each do |p

create

create(nb) Class Public methods