Ruby on Rails Community Forum

How do I implement nested comments

1
Rails
I'm looking for a tutorial on how to implement nested comments in my project. The requirements are that the comments must be editable and deletable by owner as well. As a plus, we plan on using `ac...
Sean M replied

Showing Full Country Name in Global Autocomplete

0
Rails
How can I fetch a full country name in the search.json.jbuilder. I am using the Country_select gem and autocomplete results is showing only a country short code like GB for United Kingdom.Here is m...
Charlie Kay posted

Guidance how to structure models for site credits / user balances

2
Rails
Dear GoRails-Community,Super happy to finally have joined! Thanks Chris for building the site and community. Really love that it allows to discuss approaches which always gets downvoted on SO :)I'm...
Dolf replied

How does one handle multiple Sidekiq queues on hatchbox.io deployment?

1
Servers
In reference to the ActionMailer documentation stating Sidekiq should be started to listen on the mailer queue, how does one ensure the hatchbox deployment handles this?In the documentation it stat...
Chris Oliver replied

i18n + Minitest

1
Testing
I have a complete rails application with Tests (Minitest 100% coverage)I'm trying to use i18n in this app, as told  in http://guides.rubyonrails.org/i18n.html , taking the locale from the url ...
Lluis Toyos replied

What is the correct way to convert virtual attribute to real one

0
Rails
First of all the logic of my app. The user could have several profiles situationally, such as blogger, advertiser or manager and act with different profile different role. But during public registr...
Yurii Cherniavskyi posted

SSL issue with nginx

0
Rails
Hi everyone, i have followed this tutorial and got stuck https://gorails.com/guides/free-ssl-with-rails-and-nginx-using-let-s-encrypti enabled the option to redirect on https. and now when i'm...
Muneeb Ahmad Farooqi posted

Caching Active Storage in the Browser

1
Rails
I am been using Carrier wave to up load images. I upload them then have the ability to create.a cropped version which I show on my web site.The cache nicely on the web pages so they don't need re d...
Drew Bragg replied

A newbie to Ruby

1
Ruby
I am a new to Ruby, so which episode should I watch first.
Chris Oliver replied

Vue + Webpacker: app works in development but doesn't mount template in production - blank screen with no errors in console!

1
Javascript
I'm using Rails 5.2.0 and Webpacker gem to deploy a Vue application.The show.html.erb file is very simple:<div data-behavior="vue-app"><MyComponent></MyComponent></div>And t...
John Meehan replied

How to Compile Dynamic NGINX Modules Discussion

0
General
Hi, Thanks a ton for this blog. This is what I have been looking for. I got stuck one place. I am navice so the question. I have centos to install nginx and add another module and offcourse getti...
Eddy Jose posted

How to paginate stateful tabs with Pagy

0
Rails
Pagy is the new kid on the block when it comes to pagination in Ruby on Rails. Here you'll find how easy it is to paginate stateful tabs with it: https://www.imaginarycloud.com/blog/how-to-paginate...
Sandro Cantante posted

dropzonejs plus simple_form

0
Rails
how to upload multiple files with the gem dropzonejs-rails with a form using gem simple_form
django posted

I have an error of the following form and I am unable to point out the error.

3
Testing
 Unable to autoload constant CONSTANT_NAME, expected TESTING_FILE_PATH to define it
John Meehan replied

How do we request a new video?

1
Rails
I there a place to vote on ideas, etc?
Chris Oliver replied

Set up S3 or DO Spaces for storage, and serve stored images through Cloudfront or other CDN

0
Rails
Hi all, I'm trying to set up a Rails 5.2 app to directly upload images to Digital Ocean Spaces, and to then serve those images using Cloudfront. I'm able to do direct uploads to Spaces using Active...
Ken posted

Any Javascript wizards open a one off job fixing upgrading webpack and fixing upgrading page performance on an e-commerce app?

0
Javascript
Pretty much says it all in the email. Legacy code, JS is a nightmare and in urgent need of an upgrade. Rates are flexible. Email me if interested: ams@keemail.me or im askl56 on GR Slack
Andrew Scott posted

Just want to change button text on-click. Coffeescript not making any sense to me.

0
Javascript
Hey guys, trying to do a pretty simple thing but all the information I can find online (for "beginners") seems to omit some core things I'm expected to know, because it doesn't even do so much as t...
NicWickman posted

affiliate program

0
Rails
I have been searching the internet for quite some time for a video tutorial of how to make an affiliate program.  I'm a beginner with Rails and was wondering if anyone can point me to the dire...
LaTasha posted

How do I render a partial on a button click ? (Rails 5)

0
Rails
I want to render a partial of a long form, and pass a variable to it using :locals => { :f => f }Hope you can help me. ThanksHarri 
Harribo42 posted

Learning Ruby on Rails? Join our newsletter.

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