RSSAmplifier

Blog

Rob Race's Dev Zone | Articles

robrace.devRSS feed ↗18 posts

Latest posts

Print Smarter in Ruby - Know When and How to Use Each Method

A quick tour through the most common ways to print in Ruby

Avoiding N+1 Queries in Rails: Easy Performance Wins for Beginners

Learn how to spot and fix N+1 query problems in your Rails app with practical examples, tools, and simple performance tips.

How to Build a Twitter Clone with Rails 8 Inertia and React

An update to How to Build a Twitter Clone with Rails and React

Adding Sign Up to the Rails 8 Authentication Generator

Tips for the new Rails 8 Authentication Generator

Leveraging Turbo 8: Best Additions to Implement in Rails 8 Projects

Morphs, Presence, and Typing Indicators

Rails Console in the Browser (on-demand)

Using the Rails browser console in a safe way

How to Build a Twitter Clone with Rails 8 and Turbo 8

An update to How to Build a Twitter Clone with Rails and Hotwire

How to get a User's Timezone into Rails

Quick tutorial to get time zones across the stack

How to Build a Twitter Clone with Rails and Hotwire

An update to How to Build a Twitter Clone with rails, ActionCable, and React

How to Build a Twitter Clone with Rails and Hotwire

An update to How to Build a Twitter Clone with rails, ActionCable, and React

Using Action Mailbox in Rails 6 to Receive Mail

Sending mail from a Rails application has been covered by hundreds or thousands of articles, however, there is not a ton of articles about receiving, parsing and using the new ActionMailbox . The following is an excerpt from my book Build A SaaS App in Rails 6 and is used in a new product I am building Mail Buffer . Thus, I am standing by the tutorial here with real world usage! Lastly, as this is…

How to inspect a Ruby Object

Tip to inspect a Ruby Object

Integrating Bootstrap 4 into Rails 6

Adding Bootstrap 4 and how to use a theme

19 Must-Have Gems for 2020

19 Must-Have Gems for 2020

How to Build a Twitter Clone with Rails, ActionCable and React

A response to building a Twitter clone with Rails, CableReady, and StimulusReflex

Installing Ruby through RVM

Ruby and RVM

Setting up Rails and PostgreSQL

Rails and PostgreSQL

How to get the names of all the files in a folder in Ruby

When it comes to working with directories Ruby comes with a class for dealing with directories and paths. Ruby Dir Doc Page . If you want a quick demo of how to get the names of files in a directory, look no further! ## Gets the current path of your Ruby script/console Dir . pwd ## ["array.rb", "of", "files.rb", "and", "folders"] Dir . children ( Dir . pwd ) You can also provide an instance a…