How to use Pry to debug Ruby apps
Understanding how a program behaves given certain inputs is hard enough for experienced developers. This article explores how to use Pry to debug Ruby apps.
Understanding how a program behaves given certain inputs is hard enough for experienced developers. This article explores how to use Pry to debug Ruby apps.
Mutators. Accessors. Casts. What do all these terms mean? In this article, we'll dive into what they are and how to use them in your Laravel application. We'll also learn how to create and test your own custom Laravel casts and store objects in the database.
Discover powerful Python exception-handling techniques with this guide. Learn about nested try blocks, re-raising exceptions, custom exceptions, and more.
A chance conversation led me to the realization that the world of unique identifiers is larger and more wondrous than I ever could have imagined. In this post we discuss five types of UUIDs and their upstart cousin, the ULID. We explore what makes each of them special and when they may be particularly useful.
Every Rails app has a breaking point. Follow along and learn how to test your application's performance under load with the Apache JMeter's Rails load testing.
Have you ever looked at an error and wished it had more context? Learn how to debug your applications better with Laravel Breadcrumbs.
Alarms bridge the gap between data and action, transforming any query into an actionable alert that notifies your team. Honeybadger Insights gives you granular control over monitoring without deploying new instrumentation—write a query, set a threshold, and stay ahead of issues before they impact users.
Learn how the database-backed Solid Cache gem can surprisingly outperform traditional memory-based caches in Rails.
Do you want to write cleaner JavaScript? Jump into this article to learn how modules in JavaScript can make your code better.
There are lots of ways to sort data. Insertion sort is particularly interesting because it sorts the data in place and is pretty easy to understand. While most of us just use the #sort method, interviewers still love to ask questions about sorting algorithms and related topics like Big-O notation. In this post, you'll learn not only how insertion sort works but also how to implement it yourself in Ruby.