sessions are already being enabled in the skeleton/scaffolding code you're using (in config/environment.rb); so it's not necessary (or correct) to call it again here.