rails now properly receives data from ajax post