Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Charles Magid's Profile

GitHub User: ChasManRors

Site: http://www.facebook.com/charles.magid?v=info

Comments by Charles Magid

Avatar

Great and thank you. I am trying to do some validation when exiting an input field. I changed one line in episode-136

In application.js line 9 change

  this.submit(function() {

to:

  this.blur(function() {

And get the following error:

  Parameters: {"review"=>{"content"=>"some review"}}

ActionController::MethodNotAllowed (Only get, put, and delete requests are allowed.):

How can I get this to work with onBlur?

Oh, I would have posted to 136 but the signin using github did not work for me on that episode.

Thanks in advance!