active record modify column name code example Example: active record modify column name rename_column :table, :old_column, :new_column