rake db:migrate pukes on ActionController::Base.cookie_verifier_secret = '...'

I am getting error from rake db:migrate command:

rake db:migrate
(in /Projects/MiniTodo)
rake aborted!
undefined method `cookie_verifier_secret=' for
ActionController::Base:Class

anyone know what's going on here? I had to delete the file in config/
initializer directory in order to run that db migration.

I am running 2.3.8