to_html

to_html() Class Public methods

mutex

mutex() Instance Public methods

new

new() Class Public methods

to_s

ptr.to_s => stringptr.to_s(len) => string Instance Public methods Returns the pointer contents as a string. When called with no arguments, this method will return the contents until the first NULL byte. When called with len, a string of len bytes will be returned. See #to_str

delete_all

delete_all(dependent = nil) Instance Public methods Deletes all the records 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 < ActiveRecord

textarea

textarea(name = "", cols = 70, rows = 10) Instance Public methods Generate a TextArea element, as a String. name is the name of the textarea. cols is the number of columns and rows is the number of rows in the display. Alternatively, the attributes can be specified as a hash. The body is provided by the passed-in no-argument block textarea("name") # = textarea("NAME" => "name", "COLS" => 70, "ROWS" => 10) textarea("name", 40, 5) # = textarea("NAME" => "name", "C

column_visible_list

column_visible_list() Instance Public methods

untrusted?

obj.untrusted? â true or false Instance Public methods Returns true if the object is untrusted.

items

items() Instance Public methods

keep_alive?

keep_alive?() Instance Public methods Will this response's connection be kept alive?