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 have a rails engine that exposes a command called myengine create. That command generates a full Rails application with myengine already integrated into it. The command calls rails new ... to generate the app. Everything works ...

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

Report Cancel
solved 0
1 Answer 40 views

Report
Question
I have a module with a custom view helper. Actually it uses the modified code of link_to helper. Just append a query string to the generated link. I have existing tests which fails because the custom helper cannot be found. ...

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

Report Cancel
0
0 Answer 4 views

Report
Question
Following on from this previously asked question: Gitlab PUSH syntax error, unexpected ':', expecting $end I’ve worked with my current set up for about one and half years. Didn’t upgrade anything recently, but I suddenly saw this error when trying ...

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

Report Cancel
0
0 Answer 3 views

Report
Question
When using Rails and Kaminari, is it possible to limit the maximum number of results to be returned for a given query? @things = Thing.page(params[:page]).per(10) Assuming we have 500k+ Thing records in the database, how can I ensure that Kaminari’s paginate method ...

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

Report Cancel
solved 0
3 Answer 23 views

Report
Question
In my application I created a Job, and on the Job show page I am trying to add the link for creating a Company to be added to that Job: Company belongs_to Job In my Job show.html.erb file I have: <%= link_to ...

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

Report Cancel
solved 0
1 Answer 55 views