property

property(name, value = nil) Class Public methods

rsearch_with_length

rsearch_with_length(pat,start,stop=None) Instance Public methods

create_database

create_database(name, options = {}) Instance Public methods Create a new MySQL database with optional :charset and :collation. Charset defaults to utf8. Example: create_database 'charset_test', charset: 'latin1', collation: 'latin1_bin' create_database 'matt_development' create_database 'matt_development', charset: :big5

what_are_you

what_are_you() Class Public methods

append_features

append_features(klass) Class Public methods

read_with_encoding

read_with_encoding(file, f_enc=nil, pri=None) Class Public methods

record_key_for_dom_id

record_key_for_dom_id(record) Instance Protected methods Returns a string representation of the key attribute(s) that is suitable for use in an HTML DOM id. This can be overwritten to customize the default generated string representation if desired. If you need to read back a key from a #dom_id in order to query for the underlying database record, you should write a helper like 'person_record_from_dom_id' that will extract the key either based on the default implementation (which j

y2axis_cget_tkstring

y2axis_cget_tkstring(option) Instance Public methods

since

since(seconds) Instance Public methods Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) and then adds the specified number of seconds in

new

new(*args) Class Public methods