RailsCasts Pro episodes are now free!

Learn more or hide this

epuente's Profile

GitHub User: epuente

Comments by

Avatar

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'
app/views/layouts/application.html.erb:11:in
_app_views_layouts_application_html_erb__11355537_84799900'

Is there any idea how to solve this?