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 trialscottl2
8,872 PointsCannot add new Statuses
So all of a sudden while going through the Treebook project I can no longer successfully add new statuses. When I try to submit a new status the url changes from
http://localhost:3000/statuses/new
to something along the lines of
http://localhost:3000/statuses/new?utf8=%E2%9C%93&authenticity_token=%2Bc6Ij54sBafK0%2BmEguM3OTiYehuESpKcZhqqNhFZDRc%3D&status%5Buser_id%5D=1&status%5Bcontent%5D=Statuscontent&commit=Create+Status
and the fields are cleared but we stay on the same page. If I go to All Statuses the new ones are not added.
Can you shed any light on what's going on here?
3 Answers
Jason Seifer
Treehouse Guest TeacherWhat does your new status page look like? Is there a chance the method: :post
got left out of the form?
scottl2
8,872 PointsI'm not sure what I did but it's working now... thanks anyway!
robberbaron
23,869 PointsAlso ran into the authenticity_token thing - check your cache or try another browser....