I just finished the Blogger 2 project from JumpstartLab. I encountered a few issues along the way, on a few occasions, I had some errors that I was able to overcome simply by moving a block of code further down in the routes file.
When I first plugged in this block of code above the “root_to” I got an error.
resources :author_sessions, only: [ :new, :create, :destroy ]
get ‘login’ => ‘author_sessions#new’
get ‘logout’ => ‘author_sessions#destroy’
Once I moved it below “root_to” it worked fine. This project has been updated recently to use Sorcery for authentication, instead of Devise which was in the previous tutorial. This is a great first project for beginners, it was my first project in rails. Since I have not done any coding in awhile, I decided to use this as a refresher.
I also ran into a few issues that I resolved by using “bundle update” and “bundle install”. Also, in some cases when you run into an issue, try restarting your rails server. If you don’t over think things and read your error message you can usually find the solution on your own.