I have some product list where the user can add/remove items from their product list. I would like the mentioned iteration to be done via ajax with fo ...
I have some product list where the user can add/remove items from their product list. I would like the mentioned iteration to be done via ajax with fo ...
I have a controller for urllinks and home and have a view for create.js.erb. Showing error when I click on Create Short Link. Controllers/UrllinksCon ...
I'm following a course where we are trying to render a partial through a respond_to. I have been following it strictly, and I'm very confused about wh ...
I'm trying to get specific value back when I write "h" but it won't, and I don't know why. I have tried searching for the problem but could not find t ...
For example, I have a controller named Organizations, which includes basic CRUD actions and all the actions respond_to JS, so I wrote the respond_to b ...
I want to submit a message and after that to show a message and open a popup window. The message is saved properly on DataBase, but the message don't ...
Im currently modding an open source rails project and i want to do some exports in the project after following many tutorials and recomendations i kee ...
Hi everybody I'm trying to use wicked pdf in rails. Get a pdf based on the object generated by the query, @questions When downloading the pdf, the qu ...
I have an issue with controller action respond in Ruby on rails app. So, I have two actions in my taskasset_controller with simple code: Also I ha ...
In Rails, I can use respond_to to define how the controller respond to according to the request format. in routes.rb in profile_controller.rb C ...
I have a Rails 5 app build as an api app. So by default it only responds with json. But for one specific request I need the app to respond with a scr ...
At the /tags page I have a link with remote: true. It should be a link to an ajax request. But there are two requests, as JS and as HTML. <%= link ...
In my rails 5 app I want to render partials in a div in the views/users/show.html.erb on link click. I believe I have set things up accordingly but r ...
I'm trying to render pages in a div on a profiles/show.html.erb to make it dynamic. I'm constantly getting this error. ActionController::UnknownForma ...
I am using a third party API in the system which post xml data to my URL which I get and process the xml. They are saying server has to reply back as ...
I know there are many questions about that already on stackoverflow but none of them has been useful for me. Here is my ajax code: The controller ...
I encountered some weird behaviour when using an ajax request to get a response from a rails controller action. def index respond_to do |format ...
respond_to not working inside controller rescue block: ^ Controller for API which can respond to API json uploads, or manual uploads using UI. ...
"\nrequest.variant: #{request.variant.inspect}" My controller My routes get 'reporte/opcionales' get 'reporte/opcionales/:id', to: "reporte#op ...
I have a controller action method that gets all records of establishments from the DB, I then want to share this response with a external entity which ...