FAQ: Authentication - Signup I

This community-built FAQ covers the “Signup I” exercise from the lesson “Authentication”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Ruby on Rails: Authentication

FAQs on the exercise Signup I

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply (reply) below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

WHere can I find the solution to this exercise? If I try to get the solution by clicking on the solution button provided, I just takes me to the next level but does not provide the code solution.

1 Like

Not sure if this is the right place to ask (came here through help sidebar)

Anyone getting /home/ccuser/.gem/ruby/2.3.0/gems/activesupport-4.1.1/lib/active_support/values/time_zone.rb:285: warning: circular argument reference - now
while trying to add routes?

get ‘signup’ => ‘users#new’
resources :users

1 Like

I’m getting the following error:
cannot load such file – bcrypt

Extracted source (around line #2):          
1     class User < ActiveRecord::Base
2      has_secure_password
3    end

Since it does not load bycrypt it does not find has_secure_password method. I have included bcrypt in the Gem file and have even reinstalled the Gem file.
However, the only issue I have currently is in Step 4, it says to start the rails server. It is already running on my port 8000 and I cannot restart it.

A server is already running. Check /home/ccuser/workspace/rails-auth-1/tmp/pids/server.pid.
Exiting

I cannot execute any shell command inorder to terminate this running server. Please advice!

1 Like

Also having this issue. Can’t restart server to load bcrypt

So it seems some of the bugs you’ve all encountered are fixed. I’m more stuck on the form_for bit. Maybe I’m doing this course out of order I mean I finished both Ruby and Bash and jumped into authentication because that seemed more interesting to me than the other intermediate ruby course. Anyhow I think maybe this course needs some TLC because I’m legit clicking all over the place to propel myself on through.

Anyhow I found this pretty decent explainer on form_for on Stack Overflow:

hope this is what I need to get on through this step.

Hey There, I can’t seem to find the routes.rb file its not in the config folder where it usually is and I cant get past this exercise until i find it. Any know about this?

Yes, I am getting this error. Even though I have the right code and run the right commands, it fails to recognize and proceed to the next step because of this error … :confused:

how do we fix/get past this?