Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

sign_up page disappear after simple_form gem

Hello, I'm on the lesson 4.4 Adding a drop down.. After using simple_form gem, my sign_up page is forwarded to http://localhost:3000/. Whenever I called http://localhost:3000/users/sign_up, it redirects to http://localhost:3000/ In my route.rb Treebook::Application.routes.draw do devise_for :users

resources :statuses root to: 'statuses#index'

Please let me know how to change it. Best Regards, May Thet

1 Answer

Does it say at the top that you are already signed in? If that's the case, it's because of the browser cookies remember the logged-in user. Deleting the cookies set by localhost will resolve it.