RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: ChasManRors
Site: http://www.facebook.com/charles.magid?v=info
Slight change to make it work on exiting a field see my mods on stackoverflow: http://stackoverflow.com/questions/1795979/strange-jquery-post-problem-wrong-post-url-is-used/5953359#5953359
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!
Slight change to make it work on exiting a field see my mods on stackoverflow: http://stackoverflow.com/questions/1795979/strange-jquery-post-problem-wrong-post-url-is-used/5953359#5953359
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!