[Rails] Re: Post requests exercised as a Get

2014-03-05 Thread Marcus Smith
The only response in the console before I click on withdraw is: event.returnValue is deprecated. Please use the standard event.preventDefault() instead I tried to go back to then (I have everything on github), but I was unsuccessful in getting it to run. Even if I revert to a previous commit, it

[Rails] Re: Post requests exercised as a Get

2014-03-05 Thread Marcus Smith
The only response in the console before I click on withdraw is: event.returnValue is deprecated. Please use the standard event.preventDefault() instead I tried to go back to then (I have everything on github), but I was unsuccessful in getting it to run. Even if I revert to a previous commit,

[Rails] Post requests exercised as a Get

2014-03-05 Thread Marcus Smith
Hello, I've been stuck on an issue for a few days now and I haven't been able to find any help online (asked multiple questions on stackoverflow). I'm not sure what to do anymore. Basically, I have a model 'competition' that allows users to attend it. The user can click 'attend' or 'withdraw' and