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
Conor O'Callaghan
6,721 PointsRoutes error when destroying friends in Treebook "The action 'show' could not be found for UserFriendshipsController"
Hmm..ok post aborted....A simple 's' making the path plural was the culprit..
How do you delete these things anyway? :/
1 Answer
Jason Seifer
Treehouse Guest TeacherHey Conor, You can delete statuses from the console:
bundle exec rails console
Status.delete_all
Or delete it with the id:
Status.find(id).destroy