password_field

password_field(object_name, method, options = {}) Instance Public methods Returns an input tag of the âpasswordâ type tailored for accessing a specified attribute (identified by method) on an object assigned to the template (identified by object). Additional options on the input tag can be passed as a hash with options. These options will be tagged onto the HTML as an HTML element attribute as in the example shown. For security reasons this field is blank by default; pass in a valu

cancel

cancel() Instance Public methods Also aliased as: stop

_callback_entry_class?

_callback_entry_class?(cls) Class Public methods

generate

generate(io, from_carrier, to_carrier) Instance Public methods

compact!

ary.compact! â ary or nil Instance Public methods Removes nil elements from the array. Returns nil if no changes were made, otherwise returns the array. [ "a", nil, "b", nil, "c" ].compact! #=> [ "a", "b", "c" ] [ "a", "b", "c" ].compact! #=> nil

package_name

package_name() Class Public methods

start

start(encoding = Nodes::Stream::UTF8) Instance Public methods

flush_newline_if_pending

flush_newline_if_pending(src) Instance Public methods

rescue_from

rescue_from(*klasses, &block) Instance Public methods Rescue exceptions raised in controller actions. rescue_from receives a series of exception classes or class names, and a trailing :with option with the name of a method or a Proc object to be called to handle them. Alternatively a block can be given. Handlers that take one argument will be called with the exception, so that the exception can be inspected when dealing with it. Handlers are inherited. They are searched from ri

recvfrom_nonblock

socket.recvfrom_nonblock(maxlen) => [mesg, sender_addrinfo]socket.recvfrom_nonblock(maxlen, flags) => [mesg, sender_addrinfo] Instance Public methods Receives up to maxlen bytes from socket using recvfrom(2) after O_NONBLOCK is set for the underlying file descriptor. flags is zero or more of the MSG_ options. The first element of the results, mesg, is the data received. The second element, sender_addrinfo, contains protocol-specific address information of the sender. When re