Report
Question
How do I escape a collection when I send it via to_json from the controller action directly client-side? When I say the request is sent from the controller action and then directly to client-side (skips pre-processing) it looks like this: AJAX request ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
2 Answer 10 views

Report
Question
I’m creating a console command for my bundle with Symfony 2. This command execute several request to database (Mysql). In order to debug my command I need to know how much SQL query has been executed during the command execution. ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
2 Answer 13 views

Report
Question
Can anyone explain why my @model variable is not available inside of my ajax call? When I try to use the @model variable inside of my error callback it does not exist. $.ajax URL+ "/api/v1/menu_items/#{@model.id}/verify", type: 'PUT' ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 25 views

Report
Question
As stated in the title, I’m getting a rather poorly described error in my Angular scanner/checkout application. When I load the /pulls page directly it’s fine, no console errors. I can then select a pull and click “view” to load the ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 57 views

Report
Question
When I make an ajax call, I get the ID of my input and I add the id to my json data. I need to get this id to use it id my success function. IE : In data id = 1, ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 4 views

Report
Question
I’m using ajax in my HTML file and I’m trying to get JSON data. But when I click on a button that fires the ajax I get an Unexpected token error. This console says the mistake is between colon and ...

Please briefly explain why you feel this question should be reported .

Report Cancel
0
0 Answer 11 views