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 trialJacinda Zhong
3,695 Points:confirm not working
Currently my confirm pop-up window hasn't been coming up. Here is my code:
<%= link_to "Delete", status, method: :delete, data: { confirm: "Are you sure?"} %>
I see the "Delete" link, but a pop-up doesn't come up when I click on it. Also, it doesn't actually delete the status.
2 Answers
robberbaron
23,869 PointsHi Jacinda,
I get exactly the same error. I downloaded the zipfile supplied with the "Frontend development" badge. Also the layout of the view does look a little different from Jim's .. Seems like Bootsstrap is not working right at present (don't know why ... skipping that for the moment)
I wonder whether I made some mistake within the setup process - was using rvm to setup ruby and rails under ubuntu 13. Also installed therubyracer by inserting "gem rubyracer" in the Gemfile...
Did you do anything similar to get your setup?
Cheers Marc
robberbaron
23,869 PointsCould not find it - started over - works now....