On Wednesday, March 5, 2014 4:28:54 PM UTC-5, Ruby-Forum.com User wrote:
me out that would be appreciated.
Posted via http://www.ruby-forum.com/.
The message you’re getting about event.returnValue is a warning, it
shouldn’t be causing your problem. This is basic, but you didn’t show
gemfile, I’m assuming you have the gem ‘jquery-rails’ listed. Also, it
should be a relatively current version as the older versions had an
with this. Finally, if there are any jquery files in your
bases only because it sounds like you had an older app that was working
were forced to update it.
Other than that, I would follow Hassan’s recommendation and rebuild.
Links are not really intended to be used to pass a post, so Rails has
are errors, it defaults to sending it as a get. You may want to
using button_to instead of link_to, or you could also change your route
“match ‘withdraw’, via: [:get, :post]” to catch both actions.