foreign_key

foreign_key(class_name, separate_class_name_and_id_with_underscore = true) Instance Public methods Creates a foreign key name from a class name. separate_class_name_and_id_with_underscore sets whether the method should put '_' between the name and 'id'. 'Message'.foreign_key # => "message_id" 'Message'.foreign_key(false) # => "messageid" 'Admin::Post'.foreign_key # => "post_id"

_get_extra_args_tbl

_get_extra_args_tbl() Class Public methods

level_notifier=

level_notifier=(value) Instance Public methods Sets the leveled notifier for this object. When the given value is an instance of AbstractNotifier, level_notifier is set to the given object. When an Integer is given, level_notifier is set to the notifier at the index value in the notifiers Array. If no notifier exists at the index value in the notifiers Array, an ErrUndefinedNotifier exception is raised. An ErrUnrecognizedLevel exception is raised if the given value is not found in

marker_cget_tkstring

marker_cget_tkstring(id, option) Instance Public methods

configure

configure(key, value=None) Instance Public methods

validates_size_of

validates_size_of(*attr_names) Instance Public methods Alias for: validates_length_of

middle_of_day

middle_of_day() Instance Public methods Returns a new Time representing the middle of the day (12:00) midday noon at_midday at_noon at_middle_of_day

kind_of?

kind_of?(klass) Instance Public methods Alias for: is_a?

waitall

Process.waitall â [ [pid1,status1], ...] Class Public methods Waits for all children, returning an array of pid/status pairs (where status is a Process::Status object). fork { sleep 0.2; exit 2 } #=> 27432 fork { sleep 0.1; exit 1 } #=> 27433 fork { exit 0 } #=> 27434 p Process.waitall produces: [[30982, #<Process::Status: pid 30982 exit 0>], [30979, #<Process::Status: pid 30979 exit 1>], [30976, #<Process::Status: pid 30976 exit 2>

pkcs5_keyivgen

cipher.pkcs5_keyivgen(pass [, salt [, iterations [, digest]]] ) â nil Instance Public methods Generates and sets the key/IV based on a password. WARNING: This method is only PKCS5 v1.5 compliant when using RC2, RC4-40, or DES with MD5 or SHA1. Using anything else (like AES) will generate the key/iv using an OpenSSL specific method. This method is deprecated and should no longer be used. Use a PKCS5 v2 key generation method from OpenSSL::PKCS5 instead. Parameters salt must be an 8