Select Page

Tutorials by: Kirk Makse

Simplify Your Bash Scripting with Argbash

Simplify Your Bash Scripting with Argbash

Bash scripting is a powerful skill for any Linux or Unix administrator or developer. Bash scripts can automate repetitive tasks, perform system maintenance, and deploy applications. However, parsing command-line arguments can be a daunting task, especially for complex...

Rails: Understanding save vs. save! Difference

Rails: Understanding save vs. save! Difference

When working with Ruby on Rails, you may find yourself needing to save a model instance to the database. Two methods used to accomplish this task are save and save!. While both methods save a record to the database, they behave differently when an error occurs during...

Caching with Instance Variables in Ruby on Rails

Caching with Instance Variables in Ruby on Rails

Caching is an important aspect of web development that helps to improve the performance and speed of web applications. In Ruby on Rails, caching is implemented using different techniques such as page caching, action caching, and fragment caching. In this blog post, we...

Deleting Associated Records in Ruby on Rails

Deleting Associated Records in Ruby on Rails

Ruby on Rails provides a lot of powerful tools for working with associations between models. One common use case is to delete associated records when a parent record is destroyed. In this blog post, we'll explore how to delete a guest record when a reservation record...