insert_sql

insert_sql(sql, name = nil, pk = nil, id_value = nil, sequence_name = nil) Instance Protected methods Returns the last auto-generated ID from the affected table.

not_after=

cert.not_after = time => time Instance Public methods

convertible_int

convertible_int(type, headers = nil, opts = nil, &b) Instance Public methods Returns the convertible integer type of the given type. You may optionally specify additional headers to search in for the type. convertible means actually the same type, or typedef'd from the same type. If the type is a integer type and the convertible type is found, the following macros are passed as preprocessor constants to the compiler using the type name, in uppercase. TYPEOF_, followed by the

to_name

to_name() Instance Public methods Turns this IPv4 address into a Resolv::DNS::Name.

cget_tkstring

cget_tkstring(option) Instance Public methods

plot_line

plot_line(dat, color) Instance Public methods

url_for

url_for(string) Instance Public methods basic #url_for that can be overridden for more robust functionality

m

m() Instance Public methods

now

now() Instance Public methods Sets a flash that will not be available to the next action, only to the current. flash.now[:message] = "Hello current action" This method enables you to use the flash as a central messaging system in your app. When you need to pass an object to the next action, you use the standard flash assign ([]=). When you need to pass an object to the current action, you use now, and your object will vanish when the current action is done. Entries set via now are

beginning_of_day

beginning_of_day() Instance Public methods Returns a new Time representing the start of the day (0:00) midnight at_midnight at_beginning_of_day