General Ruby on Rails Forum

Rails + Stimulas or Rails API + React

0
General
Hi Chris I have worked on many Apps with different set of architectures but never find this case at inceptive period that which approach we might choose to scale our Rails app either from being a ...
Ali Ahmed posted

Send a parameter thru a link without including it in the URL

0
General
This is probably a super easy solution, but for some reasonits eluding me. Im using elasticsearch and searchjoy and passing the searchid so I can track conversions to refine search results. Howev...
Alex Deering posted

How do I style select options?

2
General
I have options for a select field from 2 sources (this years options and last years options). In the drop down list I would like to distinguish the options between the sources (e.g. this years opti...
William Jones replied
Solved

[Vue/Rails] Rich Text Editor - Possible XSS and how to safeguard?

1
General
So I'm working on an app where the Admin dashboard is built on Vue and backend is Rails. There are parts where the Admin can update some Rich Text content, and it will be rendered by Rails. But...
Chris Oliver replied

How do I display several posts in related "weeks"

1
General
Hello everyone,, I would like to structure my blog so that I can assign posts I have created with Trix and Shrine to weeks. I want to have 12 teaserboxes on my index page which can then be clicked ...
Adam replied

Has anyone started using ruby 2.7?

1
General
Recently, I've been wondering what's the adoption of ruby 2.7. Has anyone here migrated a production app to 2.7? https://100001.onl/ https://1921681254.mx/ https://acc.onl/hotmail I've ...
Seth Tucker replied

Is there some sort of reddit CSS guide?

0
General
Hello everyone,, I learned CSS when I was younger on Neopets and remember most of it, but I don't quite know what reddit calls everything/how attributes are named. Is there some sort of guide f...
Jassim posted

Recording Building a Rails Based Accounting System

2
General
Hi guys Recently added a video to the "reality tv" type of series I'm vlogging in youtube. It's not really a tutorial but rather a commentary / recording of how one would go abou...
Clay replied

Flatpickr with "Present" value as well.

4
General
I am currently adding date ranges for jobs in my app. I want the user to pick the start and end dates using flatpickr gem. I also want the user to be able to set the field to "Present" if...
Gerard Donnelly replied
Solved

Get Jumpstart Pro

2
General
Hi Chris - love your stuff and been a long term subscriber of Gorails.com. Do you have any special pricing for subsrcibers on Jumpstart Pro: https://jumpstartrails.com/pricing ? Love to get the sin...
Martin Curiel replied

Updating CSS classes in production doesnt show changes

2
General
Ive noticed that anywhere that I adjust the css classes dynamically (select2 boxes and one of my stimulus controllers adds a border when a div is clicked) the classes are added but the display isnt...
Alex Deering replied

Embeddable Javascript Comments Widget Models - Part 1 Discussion

0
General
Hello everyone,, This is perhaps a bit of a newbie question but I wanted to ask your opinion on what are the things I would consider usually when it comes to using the approach you outlined in the ...
Konhaivo12 posted

Elasticsearch server with Hatchbox timing out

19
General
Got another hatchbox issue trying to figure out. With elasticsearch now, I have a dedicated cluster that only runs elasticsearch. In the ENV there is the elasticsearch_url and ive SSH into the el...
Chris Oliver replied

multistep forms

0
General
Is there a class or recommendation on how to do multstep forms in Rails?
Kirk Keeter posted

bash to zsh

1
General
I am following this guide https://gorails.com/setup/osx/10.15-catalina to setup a Ruby on Rails dev env on my MacBook Pro. I was prompted to change the bash shell to the zsh shell. In the guide men...
Chris Oliver replied

Question regarding creating new items with belongs_to association!!

0
General
Hi, I am completely new to Rails and would like some help. I am trying to implement a to-do list using Rails as my backend and React as my frontend. Initially, I created a model and controller that...
MasonLogan posted

Recommendation for a maintained library similar to Datamapper?

0
General
I really liked to use Datamapper for my small hobby projects, it was so easy to set up and change the schema (no migrations needed). However the repos have been archived and they're unmaintaine...
Edward11 posted

Is Gorails's jumpstart worth the price?

1
General
ooking to build some apps and saw that Gorails offers https://100001.onl/ https://1921681254.mx/ https://acc.onl/hotmail I played with the free version and wanted to see if anyone has: Built with ...
Chris Oliver replied

how do implement a rails popularity/trending algorithm!!

1
General
* I'm making a web app and I want to sort through a model based on popularity/trendiness, kind of like reddit/hacker news. [192.168.0.1](https://19216801.onl/) I want to determine the popularit...
Chris Oliver replied

Ruby on Rails ActionMailer Images Issue

1
General
I'm trying to use embedded images in my E-Mail, but if I try to load a file from my image folder as a header, it's not displaying in the email: The image is an inline attachment: def ...
Chris Oliver replied

Learning Ruby on Rails? Join our newsletter.

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