rename(column_name, new_column_name) public

Renames a column.

Example
t.rename(:description, :name)
Show source
Register or log in to add new notes.