Ruby on Rails Community Forum

Searching and partial keyword matches

1
Site Feedback
Hi Chris, I was searching for the Tailwind + Rails 6 video today, but searching for "Tailwind" did not return it: https://gorails.com/search?q=tailwind I eventually did find the episode here: htt...
Chris Oliver replied

Stimulus JS Twitter UI: Part 2 Discussion

20
General
Great content, as always.  An idea for another Stimulus screencast: reimplementthe 'Using VueJS for Nested Forms in Rails' series in Stimulus.
Michael Yagudaev replied

Autosave Draft Records - Part 2 Discussion

0
General
great lesson, but if the model has validations? or nested models?
Fabio posted

How do you save draft records with ActionText?

0
Rails
I saw Chris's episodes on autosaving draft records with draftsman, but the gem is a bit outdated now. It hasn't been updated in over 2 years and the highest supported version is rails 5.2. Has anyo...
raguila8 posted

simple_discussion https: ?

1
Gems / Libraries
Hi Chris, Thank you for publishing the simple_discussions gem. It was exactly what I need for a project I am doing! I just deployed a barebones start to this project to AWS Elastic Beanstalk. I se...
Christopher Andersson replied

How I can include a camp in form for capture a photo and save in my database in Mongodb. Rails 5. Ruby2.5.1.

0
Ruby
Hello I have a scaffold with many inputs of datas of patients and now I need add a camp for take a photo with webcam and save a photo when the patients go save your datas profile save a photo along...
Thomaz Wanderbruck Schmidt posted

How to create a button with a file upload action

1
Rails
I've got a form where the user is allowed to import a spreadsheet. Currently the part for the user to select the file looks like: <%= form_tag import_clearance_crews_path(@clearance), multi...
Chris Oliver replied

How come so many solutions to solving layout problems are just: put <div> wrappers around your <divs>

1
General
I'm just a noob, but feeling layout frustrations. CSS is so 'artsy' to me, in that there's 30 ways to do everything, but none of them actually work unless you've aligned the stars correctly. Prett...
Damiangage replied

How do I transfer content of production databse to my development database

0
Databases
Dear experts, I have a rails application that I was running on production environment. The data upon interacting with application on browser was therefore added to the production database. I would...
Shivam Barthwal posted

How can I stop/minimise VueJS components from being invisible on page load for a split second before appearing?

1
Javascript
I'm using standard Rails views (rather than an API) with quite a lot of Vue components - but on page load, all of my those components are not rendered for a split second. They then all blink into e...
Travis Smith replied

How can i change STRIPE2 description on the charge from a paiment?

0
Rails
When you use the stripe api to make online payments, I receive a charge in my app from my bank with the description of STRIPE2, is there any way to change this description for something personalize...
Jose Estrada posted

How should I go about setting up a staging environment on Hatchbox w/ DigitalOcean?

1
Servers
So I've set myself up with Hatchbox on DigitalOcean. I don't think I want to deploy seperate environments on the same server. But if I create an entirely seperate cluster I am afraid of racking up ...
Chris Oliver replied

Help with direction for new project

0
General
Starting a new project and trying to figure out how to approach the main concept so as to pick the right resources to support it. The site is going to be a dynamic group note taking app and has so...
Alex Deering posted

Want to run Cypress.io tests in multiple platforms and browsers

1
General
I'm reading about Cypress and its limitations in many forums and blogs for quite a long time. Most of the posts talk about the missing ability to test cross-browser and cross-domain. Maybe it's tim...
cooperstein replied

Action text issue

0
General
Hi all. I have a problem with the enter event. When I press the enter key the mouse cursor does not move to the other line. which may be?
Migue9936 posted

I need help to get delete of attachments to work from view with ActiveStorage

0
Rails
Hello, I am on Rails 5.2.3. I just followed the rails guide on ActiveStorage, and have the attachments working. from a display, download link POV. What I do not seem to get functioning is the delet...
jl@lejoly.com posted

Reload or refresh issues!?

0
Rails
Created an app with rails 6 &amp; ruby 2.6.6 Issues 1:::: I edit files expect to refresh my browser &amp; see changes... no changes noticed! I have to restart server to see any change? Is there not...
John q kiewum posted

Restricting Javascript Widgets to Registered Sites Discussion

2
General
In this example you first render the javascript and make another call to API via fetch and check the domain in API controller. Is there a specific reason for that? Isn't it better to check the dom...
Syed replied

Polymorphic association via concern giving undefined method relation_delegate_class

0
Rails
Not sure if the forum is a good place to ask technical questions like this, but I have a heartable concern that I will be applying to several models: module Heartable extend ActiveSupp...
Tom Iwaniec posted

Deploy Action Cable & Redis to production

0
Rails
I'm currently integrating Stimulus Reflex and Cable Ready in my application and want to deploy it to my production server. The guide here on how to deploy ActionCable to production seems very outda...
Maximilian Kirsch posted

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.