I searched but couldn't find a straightforward answer. I would like to be able to see which partial generated a certain piece of HTML. So when in a vi ...
I searched but couldn't find a straightforward answer. I would like to be able to see which partial generated a certain piece of HTML. So when in a vi ...
I have a Rails application that is using multiple gems. Each gem provides assets, that are added to the Rails asset path: main app admin engine ...
I'm converting ActionText HTML into PDF using Prawn-Markup. I need large images to be scaled down (not resized or cropped), which requires setting the ...
rails 6.1 I am wanting to reference a partial in app/views/shared/ from another namespace. When calling from within a namespace, the path always s ...
I'm having trouble connecting a form_with helper to a specific action. I want to search through my posts and so have created a search action in the po ...
In Rails 7 a form generated with form_with tag sends remote request by default (turbo.js handles form submit event instead, whatever). Previously one ...
In my form I have a collection_select to be able to select the name of the articles, my problem is that when I select any article nothing happens O ...
I recently upgraded Rails app 4.1 to 6.1 and I got this error shown below: rake aborted! ArgumentError: wrong number of arguments (given 0, expected ...
I'm working on old Android Java app. Now I've a problem with an image opening through action_view intent. I've the image saved locally at context.getF ...
I recently upgraded a Rails 6.0.3.5 app to 6.1.3 after the mimemagic fiasco. Now, I see this interesting issue that is happening after the view is re ...
I have a task like this, if the user wants to download the image, he will click on the blue button, the image will be downloaded,and the snack bar wil ...
Step to reproduce: rails new testurl cd testurl Add resources :tests, only: [:index] in config/routes.rb Create a new file in app/views/test ...
I just upgraded to Webpacker 6.0.0.beta.5 and this error came up. ...
Ruby on rails docs says you can add html options to tag helpers. The code below is not working. My select box cannot shown disabled. Is there anybody ...
The form_with helper doesn't generate ids for form elements, and therefore doesn't generate for attributes either. This differs from the old form_tag ...
If a template causes an ActiveRecord::RecordNotFound exception to be raised, the original exception is swallowed up by ActionView and turned into an A ...
I have been building an app for a few months now, I had it hosted on heroku, and I started making changes to it for a while without pushing to heroku, ...
Recently I got a mail from GitHub with the the following Security advisory. Its say: we found a vulnerable dependency in repositories you have securi ...
I am trying to send an email from my rails 4 app like so (condensed version from the console): The mail would be sent by delayed_lob, in my local t ...
I can link to the same page keeping the current params (except for the page param) with this Is it possible to do this with a form? I thought this ...