Form with references field

1
Rails
I have a form with references field: <%= form.label :name, style: "display: block" %> <%= form.text_field :name %> <%= form.label :city_id_id, style: "display: block" %...

Patching Models for Ransack 4.0.0: Extending ActiveRecord for Gem Compatibility Discussion

4
General
thanks for sharing!

How to upgrade to Rails 7.1 Discussion

4
General
any anyone else having issues with sidekiq after upgrading from `7.1.0.beta1` -> `7.1.0.rc1` ``` undefined method `broadcast' for ActiveSupport::Logger:Class => gems/sidekiq-7.1.4/lib/sideki...

Action Cable with Puma, Nginx, Docker Swarm

6
Servers
I setup a DigitalOcean Ubuntu 22 droplet to host a docker swarm with containers for a rails app, postgress, and redis. I’m not able to get action cable to work with puma and nginx. I see errors in ...

How do I generate SEO Friendly URL's for filter combinations in Rails?

6
General
I have a site where the user can apply a combination of multiple filters. To improve the SEO on the site I would like to have the URL in a human-readable format when filters are applied. I would ...
Derek Hobson replied

Testing Rails ActionCable Channel

1
Rails
I followed along with the Online user tracking with ActionCable and was able to get it all working. I replicated a similar channel in another app and again it works great, however when I came to te...

Populate dropdowns based on selection

4
Javascript
I'd like to get people's thoughts on the best approach. I'd like to have a search ability where once a selection if made, the next dropdown box populates with only the available options from the d...
Chris Oliver replied

Switching Between Live and Test Modes in Stripe Connect with Pay Gem

0
Rails
We have set up Stripe Connect in our Rails application to allow customers to sell their products. Currently, we support purchasing products from connected accounts only in live mode. However, we re...
Sandhiya Thangaraj posted

How to use Action Mailbox in Rails 6 Discussion

24
General
This is great! Can action mailbox be used with a gmail account or does it have to be one of the services listed?

How much is the cost to get a web design company to build me something I need with Ruby rails?

11
General
Hi guys, so I am basically running a small business and I need a web application built with ruby on rails. I heard it is a pretty good framework, but I don't know how much the cost is for this. I w...

Audited vs papertrail gem for auditing table changes?

4
Rails
I'm currently looking to use either one of these two for auditing changes made by specific user roles on a rails 6 ecommerce app using mysql. They both seem similar and I'm currently leaning toward...
anniesteuber replied

Wrapping up our Web Scraper in Rails Discussion

0
General
The source code link for this lesson is missing. This is for anyone who is looking: https://github.com/gorails-screencasts/web-scraper
Anthony Veaudry posted

How To Use Importmaps With Rails Discussion

7
General
Are you using import maps yet?
Daniel Lee replied

Adding Sales to the black_friday gem Discussion

0
General

SQL Learning Path - Creating and Dropping Databases Discussion

7
General
Initially, I got a connection error, to the effect, 'database 'my_user_name' does not exist. After running `createdb` and then `psql`, everything works and I was able to connect using 'TablePlus' ...
Jesus replied

How to Add Pagination for Blog Posts in Rails Discussion

5
General
I like the manual approach of looking inside the `pagy` object and finding your way to get what you want! That is what I usually do instead of searching the doc :) A simpler approach that I recomm...
D john replied

Noticed V2 is great! What am I missing on the issue of 'persisting clients subscription'

2
Gems / Libraries
I use the web_push strategy in Noticed V2 - and it's a kicker - my +1 on that, really! But I must be doing something wrong b/c everytime a user logs into the app hem is requested (by the service-w...
Walther Diechmann replied

How do I modify the query used to eager load associations

0
Databases
Hi, I have a classic hierarchical entity with single level of nesting ``` class Job < ApplicationRecord has_many :children, class_name: 'Job', foreign_key: 'parent_id' belongs_to :parent, op...
mchwalek posted

Blog Posts with File Uploads using ActiveStorage & Amazon S3 Discussion

25
General
How did you get to the Policy section on AWS?
D john replied

Want to stay up-to-date with Ruby on Rails?

Join 92,299+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.