delete

delete(*records) Instance Public methods Deletes the records supplied and removes them from the collection. For has_many associations, the deletion is done according to the strategy specified by the :dependent option. Returns an array with the deleted records. If no :dependent option is given, then it will follow the default strategy. The default strategy is :nullify. This sets the foreign keys to NULL. For, has_many :through, the default strategy is delete_all. class Person < A

to_s

exception.to_s â string Instance Public methods Returns exception's message (or the name of the exception if no message is set).

email_field_tag

email_field_tag(name, value = nil, options = {}) Instance Public methods Creates a text field of type âemailâ. Options Accepts the same options as text_field_tag.

include_with_range?

include_with_range?(value) Instance Public methods Extends the default Range#include? to support range comparisons. (1..5).include?(1..5) # => true (1..5).include?(2..3) # => true (1..5).include?(2..6) # => false The native Range#include? behavior is untouched. ('a'..'f').include?('c') # => true (5..9).include?(11) # => false

cget

cget(slot) Instance Public methods

get_initial_token

get_initial_token() Instance Public methods Gets the initial Negotiate token. Returns it as a base64 encoded string suitable for use in HTTP. Can be easily decoded, however.

scanDrag

scanDrag(w, x, y) Class Public methods

unpack

sockopt.unpack(template) => array Instance Public methods Calls String#unpack on sockopt.data. sockopt = Socket::Option.new(:INET, :SOCKET, :KEEPALIVE, [1].pack("i")) p sockopt.unpack("i") #=> [1] p sockopt.data.unpack("i") #=> [1]

toggle_visibility

toggle_visibility(first, last=nil) Instance Public methods Also aliased as: togglevisibility

==

==(other) Instance Public methods