Has anyone encountered this voodoo before?
(byebug) xhr :post, :translate *** ArgumentError Exception: wrong number of arguments (4 for 0) nil (byebug) xhr :put, :translate *** ActionController::ParameterMissing Exception: param is missing or the value is empty: post_id nil
I have no idea why
POST would raise a
4 for 0 argument error. Even after looking at the source for
xhr, I’m not sure why this is happening.