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