Law of Demeter and Delegation Discussion

4
General
Another interesting episode, Collin! I appreciate the chill vibes. :)

How to setup Emails, both transactional and Marketing

4
General
Getting around to setting up marketing emails for my site (using jumpstart) and noticed that the marketing integrations (Mailchimp, Convertkit, Drip, etc) are not the same as the transactional emai...

Exploring IRB Commands Discussion

0
General
good stuff collin. thanks for the share!
Jason posted

Defer Job Enqueues After Transaction Commit in Rails 7.2 Discussion

0
General
Raise your hand if you're guilty of making this mistake in the past. 👋😬

How to Rate Limit Requests in Rails 7.2 Discussion

2
General
This is very useful! No more rack attack... although it's possible this will not provide all features that rack attack gives us - right?

Base62 Decoding Short Codes Discussion

6
General
Intresting, I had the same requirement so I created this gem https://github.com/xiaohui-zhangxh/xencoder , it can encode/decode interger to BaseX and prevent it to be decoded without seed
Richard Payne replied

Setup MacOS 10.14 Mojave Discussion

0
General
brilliant! I had been struggling with brew installation as z3 will not install on macOS 10.14 wish I had found this sooner!
joemcerlane posted

Hashes in Ruby Discussion

8
General
If we use `h = HashWithIndifferentAccess.new({key: "value"})` it will allow us to access the value through both `h[:key]` and `h["key"]`.
Gabriel replied

Components with Phlex in Rails Discussion

8
General
I feel like components in Ruby are super duper handy for arguments and other complex helper methods. Phlex takes it a step further with the HTML helper methods so you don't even really have to leav...
Christian Sedlmair replied

Deploy Multiple Rails Apps to Same DigitalOcean Droplet?

16
General
I've used your guide to [deploy a Rails app](https://gorails.com/deploy/ubuntu/14.04) to a DO droplet -- which was extremely helpful! However, now I'm at the point where I'd like to take advantage...
Andrés Howard replied

Syncing Videos With Video Hosting API Client Discussion

6
General
Thanks for sharing these steps for setting up Windows Subsystem for Linux (WSL) on Windows 10. For those looking to set up WSL on Windows 11, the process is quite similar.
Carmen replied

Polymorphic Selects in Rails using GlobalIDs Discussion

4
General
This is fantastic Chris thank you, I'm curious how this would work for the edit view of the form?
Travis Smith replied

Installing ruby on rails in ubuntu 24.04

1
General
I am following your tutorial for installing ruby on rails in ubuntu 24.04 using esdf and installed esdf.while installing ruby it downloaded ruby and while configuring the system shut down suddenly....
Andres Carvajal replied

Pass variable to Flash object

2
General
I'm trying to pass a variable to flash messages object. I want to autohide flash messages(not each message) after 5 seconds in Stimulus controller. So I want to be able to set data-flash-autohide-v...
Chris Oliver replied

Edit & Update Blog Post Actions Discussion

1
General
Question: when i removed "blog_posts" from my routes, turning our routes get "/blog_posts/new", to: "blog_posts#new", as: :new_blog_post get "/blog_posts/:id/edit", to: "blog_posts#edit", as: :...
Semih Masat replied

Creating a New Rails app Discussion

4
General
Chris, great job and fantastic tutorials. Do you have any suggestions for connecting Rails 7 apps to Snowflake. It seems the only viable option right now that I have found is ODBC connection using...
Carlos Lima replied

Setup Ubuntu 22.04 Jammy Jellyfish Discussion

8
General
>>>sudo apt install postgresql-11 libpq-dev for Ubuntu 24.04 it will be: >sudo apt install postgresql-14 libpq-dev
Stephen Jobs replied

Improving Rails Credentials & Encrypted File Decryption Discussion

0
General

How to use Omakase Rubocop Linter/Formatter Rules for Rails Discussion

4
General
What do you think about having a built-in linter that comes with Rails?
Firman replied

Setup MacOS 14 Sonoma Discussion

10
General
Hi Chris, I am doing this on Pub Beta 2, and I am getting this error. configure: error: something wrong with LDFLAGS="-L/Users/pitosalas/.asdf/installs/ruby/3.0.6/lib " No amount of googling has...
Emilio G replied

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

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

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