RailsCasts Pro episodes are now free!

Learn more or hide this

epuente's Profile

GitHub User: epuente

Comments by


I tried to change DB from sqlite3 to mysql2, but I got the next error:

ActiveRecord::RecordNotFound in UsersController#new

Couldn't find User with id=1
Rails.root: /home/epuente/proyectos/ruby/auth

Application Trace | Framework Trace | Full Trace
app/controllers/application_controller.rb:7:in current_user'

Is there any idea how to solve this?