RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: epuente
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'
current_user' app/views/layouts/application.html.erb:11:in
Is there any idea how to solve this?
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__11355537_84799900'app/views/layouts/application.html.erb:11:in
Is there any idea how to solve this?