Ruby on Rails Community Forum

Yukihiro Matsumoto: "Ruby is designed for humans, not machines"

0
Ruby
We’re thrilled that our good friend Yukihiro Matsumoto, creator of the Ruby programming language, has been able to join us at RubyRussia 2019 as a speaker for the second time, having previously spo...
Iurii Gurzhii posted

Capistrano, puma staging env keeps using production secrets

1
Rails
Question: When we run `bundler exec cap staging deploy` the application is still trying to pulling secrets for Production and not Staging. How can we debug this process to find why the application...
Chris Oliver replied

How do I handle the validation of associated objects?

0
Rails
I have a blog applications, in which user has_many blogs, blog has_many notes written by the user. And we have a note_relations(mapped to NoteRelation) table to keep the relation of two notes, if t...
jwjwy posted

Suddenly all JS Files concatinated in development

0
Rails
Hi all, I encounter a strange problem in my Rails 5 project. Suddenly all JS-Files are concatinated (but not minified) to one debug-application-xxxxx file. Before when worling in development enviro...
Andreas Ulrich posted

Model/concerns question

6
Rails
Hi. I am learning ROR on my own (no formal programming trainng) so this may be a question with an obvious answer but i'm stuck and the answer will help me understand how to call concerns. I have ...
Chris Oliver replied

Display non-image attachments with Trix/action_text

0
Rails
I've got the barebones functionality of Trix working ok... The editor displays ok and text and images display as expected. But when I drag and drop a PDF (for example) I can see in the editor a sma...
Nelson Casanova posted

How do i track or list online users with rails?

0
Rails
How can i track or list online users in rails?
3DWaffle posted

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

Shrine Dynamic s3

1
Gems / Libraries
Hi Chris, I have a question I hope it's not out of scope for gorails but I'm having a hard time figuring it out. I have a multi tenant site, each of the tenants add their own s3 credentials there...
Chris Oliver replied

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

Hatchbox deployment questions

20
Rails
Im launching my app and using your Hatchbox service to help. I was planning on using digitaloceans managed database and wondering how that works with hatchbox and if I need to change anything in m...
Alex Deering replied

How to set up Email newsletters

0
Rails
So this is less a question on how to set up integration with sendgrid or mailchimp, and more along the lines of how would you go about creating an admin setup to create dynamic newsletters without ...
Alex Deering posted

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 unmaintained no...
Edward11 posted

Problem installing pg-1.1.4 as part of Rails 6 install

1
Gems / Libraries
I'm following the instructions in the post on installing a rails development environment for MacOS Catalina. I'm able to follow the steps up to checking the rails version: $ rails -v Could not fin...
Dean Richardson replied

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

Learning Ruby on Rails? Join our newsletter.

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