shallow() Instance Public methods
hide!() Class Public methods Convenience method to hide this generator from the available ones when running rails generator command.
yesterday() Class Public methods Returns a new Date representing the date 1 day ago (i.e. yesterday's date).
remove(*column_names) Instance Public methods Removes the column(s) from the table definition. t.remove(:qualification) t.remove(:qualification, :experience)
last_inserted_id(result) Instance Public methods
clear() Instance Public methods
quote(value, column = nil) Instance Public methods Quotes the column value to help prevent SQL injection attacks.
put_via_redirect(path, parameters = nil, headers_or_env = nil) Instance Public methods Performs a PUT request, following any subsequent redirect. See request_via_redirect for more information.
collation() Instance Public methods Returns the database collation strategy.
quote_table_name(table_name) Instance Public methods Quotes the table name. Defaults to column name quoting.
Page 103 of 2275