so I am working on a website that is a static scrollable one page, but for some reason it was deployed in ruby on rails. I am a noob in ror. There is one image in the html page that needs to resize whenever the site is loaded on a mobile device.
<li><%= image_tag 'Main_logo.png', width: '700', height: '399' %></li>
Now I think I can do this in CSS, which means the client will resize and the full size image will always be downloaded. My question is how can I solve this issue using ror? I am sure ruby on rails has some server side capacity to fix this. Keep in mind I am new to ruby on rails
Thanks.