Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

application_controller.rb has no solution code #563

Closed
grey-lock opened this issue Oct 25, 2017 · 0 comments
Closed

application_controller.rb has no solution code #563

grey-lock opened this issue Oct 25, 2017 · 0 comments

Comments

@grey-lock
Copy link
Collaborator

grey-lock commented Oct 25, 2017

A couple of issues with this lab:

  1. Although this lab is a code along, there was an issue with the solution code for application_controller.rb missing.

  2. At the step where you insert 'puts params' in the post '/registrations' route, the code breaks and Sinatra throws an error, and trying to find the issue was only solved by copying over all the correct code for the login page, as well as the routes:

undefined method `name' for nil:NilClass
file: home.erb location: block in singleton class line: 1```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant