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