active record update column with string of the name code example Example: active record modify column name rename_column :table, :old_column, :new_column