criei uma migration para renomear uma coluna e só recebo o erro;
undefined method `to_sym' for nil:NilClass
== 20161001182840 RenameColumnPasswordInUsersPasswordToPasswordDigest: migrating
-- rename_column(:users, :password, :password_digest)
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
undefined method `to_sym' for nil:NilClass
o código da migration é:
def change
rename_column :users, :password, :password_digest
end