inline_other_text?

inline_other_text?() Instance Public methods

alert_warning

alert_warning(*args) Instance Public methods

columns

columns(table_name) Instance Public methods Returns the list of all column definitions for a table.

humanize

humanize(lower_case_and_underscored_word, options = {}) Instance Public methods Capitalizes the first word, turns underscores into spaces, and strips a trailing '_id' if present. Like titleize, this is meant for creating pretty output. The capitalization of the first word can be turned off by setting the optional parameter capitalize to false. By default, this parameter is true. humanize('employee_salary') # => "Employee salary" humanize('author_id')

new

Cookie.new(name_string,*value)Cookie.new(options_hash) Class Public methods Create a new CGI::Cookie object. name_string The name of the cookie; in this form, there is no domain or expiration. The path is gleaned from the SCRIPT_NAME environment variable, and secure is false. *value value or list of values of the cookie options_hash A Hash of options to initialize this Cookie. Possible options are: name the name of the cookie. Required. value the cookie's value o

db

db() Instance Public methods

see

see(index) Instance Public methods

translate

translate(*args) Instance Public methods Delegates to I18n.translate. Also aliased as t. When the given key starts with a period, it will be scoped by the current controller and action. So if you call translate(".foo") from PeopleController#index, it will convert the call to I18n.translate("people.index.foo"). This makes it less repetitive to translate many keys within the same controller / action and gives you a simple framework for scoping them consistently. t

find_class

find_class(raw_name, name) Instance Public methods Finds a RDoc::NormalClass or RDoc::NormalModule for raw_name

find_command

find_command(cmd_name) Instance Public methods