Cleaned up:  was not defined at boot in Rails 4.