Instantly share code, notes, and snippets.

Embed
What would you like to do?
$(function(){
var randomNum = Math.floor(Math.random() * 10000);
$.post("/profile",{'_method':'put','user[nick_name]':'I Love Feng Zhichao ' + randomNum});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment