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

E Kanna
E Kanna
2,944 Points

Working on Treebook and it allows me to select any user and post a status for them?

I'm working on tree book, at the "Scoping" video and for some reason, you can log in as another use and post a status but select the drop down menu for a different user.. Basically posing as them.

How do I correct this? I can supply any code that you might need to see.

2 Answers

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

They will be tackling that problem in future videos to make it impossible to pose as another user :). There will be no drop-down menu and current_user will be assigned automatically as the posting user.

E Kanna
E Kanna
2,944 Points

Awesome! Thanks