General Ruby on Rails Forum
Possible to get img elements to be the size of container and behave like background-image?
0
General
I’m using a grid for a complex layout and I would like the images in it to have no control over size. The grid is set using fr unit https://sarkariresult.onl/ s so that it too will not have an actu...
DomnikBritto posted
How do I customize a Google Maps marker (like AirBNB)?
0
General
I'm curious if anyone has experience customizing the marker in Google Maps, a la AirBNB . I understand how the icon works but I haven't had succe...
Taylor Cooney posted
How to display Active Storage attached file when editing form?
0
General
I am building an Agreement management app. Each Agreement has vendor, activation, expiration dates and file. File is an attached agreement in pdf. I use Active Storage for attaching files. When I e...
danielindon posted
Stuck writing an interpreter in Ruby. Not able to consume whitespace properly
0
General
So I am following the "Writing an interpreter book" and implementing it in Ruby instead of Go. I am able to scan tokens like ; =, +, etc but it seems to behave differently when I have identifiers l...
MontieFernandes posted
Urgent question
0
General
I'm new to rails and can list any questions, hope to be looking for help in the right place. I need to embed an IFRAME in the SHOW of my app, but it doesn't obey. There is simply no content in the ...
Roseiro posted
Using Flexbox to arrange images
1
General
I'm working on my first web dev portfolio and I have currently have two screenshots of websites I've made. I'd like them to display very simply, gallery-style, so that on a larger screen they are i...
Dan Mitchell replied
Remove default gem (bundler)
0
General
Hey everyone,
Using multiple versions of Ruby over multiple applications for work and seem to be having some gem set issues. In particular Bundler which is defaulted to a version I need to update ...
HenltonGomes posted
How can i Configure my Trix Editor / ActionText field?
2
General
Is there a way to add / delete buttons from the tool bar for action_text? For eg, I'd like to add more semantic header levels (h2-h4).
Christopher replied
Solved
Jumpstart pro configuration question
2
General
Hi, I am relative newbie so apologies if this is a stupid question. I want to use jumpstart pro to build out an app. It has a lot of what I need out of the box. What I am trying to figure out is wi...
Col replied
remove a powered by link left by my developer.
0
General
i am new to ruby/ror i had a developer create me a site (still in progress) and the developer left a "powered by" link on my site and i want to remove it ( i pay for domain name,hosting, developmen...
david posted
Rails 6 and jQuery ui
0
General
Hi at all,
I'm Davide and I started to learn Rails since about one week.
I'm tryng to add Jquery ui selectable functionality to my project but I cannot load jquery-ui in webpack.
Can you help me pl...
Davide posted
Invalid auth error
3
General
ActionController::InvalidAuthenticityToken in MessagesController#create
please help me on this error.
I was following from part 1 until part 4 on group chat
Mpumelelo replied
Is this a good fit for storing JSON in database?
2
General
I've got a Video model that represents a video created by the user. During creation of a video a couple of filters with different options can be applied to the video. Currently only 2 but I'll be a...
Daniel Weaver replied
Solved
Where to read about changes between Ruby versions?
1
General
Tips for updating Ruby versios? Is there somewhere to look for human-readable changes made between Ruby versions?
I've looked at the Github diffs between Ruby versions which is fine but it's not v...
Chris Oliver replied
How to use stimulus-autocomplete events when triggered
0
General
Ive got the stimulus-autocomplete controller installed and working, but Im still learning how to work with stimulus. The documentation for the controller says there are events that get fired off a...
Alex Deering posted
Persist file info after rails validation error
0
General
Im working on my main form and have some form validations and running into an issue with a new form not maintaining the image upload after a validation error reloads the page. Here is my form-grou...
Alex Deering posted
Multiple File Uploads with a nice JS interface?
2
General
I am going with an 'Attachment' model which belongs to other models (just one for now).
The 'Attachment' model to add other fields and funtionality down the road. Each record has one file uploade...
Dan Tappin replied
Rails 6: How do you associate specific stylesheet and external js plugin to a layout
0
General
I am working on Ruby on Rails 6. My application has a controller that uses a different layout called "special":
```
class BoxController < ApplicationController
layout "special"
...
end
```
...
Joan Gabun posted
How do I embed a Rails app into another website?
1
General
Hey!
I'm stuck with this - and would love some help.
Going to use an example to explain this. Storemapper (https://www.storemapper.com/) was build on Rails. It basically lets you add a store loc...
Chris Oliver replied
Solved
Where is "embeddable javascript widget Part 4"?
2
General
It seems like all parts of "embeddable javascript widget" tutorials are available EXCEPT part 4.
https://gorails.com/episodes/embeddable-javascript-widget-part-4
Any idea where to find it?
Chris Oliver replied
Solved