• Tour
    Features Error tracking Uptime monitoring Status pages Cron & heartbeat monitoring
    Frameworks
    Ruby on Rails Laravel Django Phoenix
    Languages
    Ruby PHP Python JavaScript
    Elixir Crystal Node Go
  • Pricing
  • Blog
  • Docs
  • Status
  • Contact
  • Meet the 'Badgers
  • Log In
Get started for FREE
  • Blog Home
  • Honeybadger
  • Ruby
  • PHP
  • Python
  • Elixir
  • JavaScript
  • Posts by Topic
    Ruby (187) Honeybadger (81) Rails (61) JavaScript (60) PHP (51) Python (33) Laravel (33) Go (16) Briefing (13) Django (12) Node (12) DevOps (10) Elixir (8) Aws (8) Briefing 2021 Q3 (7) React (7) FounderQuest (6) Briefing 2021 Q2 (6) Error Handling (6) Conferences (5) Testing (5) Security (4) Developer Tools (4) Elastic Beanstalk (4) Heroku (3) Debugging (3) Docker (3) Markdown (3) Serverless (3) Websockets (3) Sql (3) Events (2) Jekyll (2) Startup Advice (2) Guest Post (2) Sidekiq (2) Git (2) Front End (2) Rspec (2) Oauth (2) Logging (2) GraphQL (2) Flask (2) Nextjs (2) DynamoDB (2) Case Studies (1) Performance (1) Allocation Stats (1) Integrations (1) Bitbucket (1) Mobile (1) Gophercon (1) Clients (1) Vue (1) Lambda (1) Turbolinks (1) Redis (1) CircleCI (1) GitHub (1) Crystal (1) Stripe (1) Saas (1) Elasticsearch (1) Import Maps (1) Build Systems (1) Minitest (1) Guzzle (1) Tdd (1) I18n (1) Github Actions (1) Postgresql (1) Xdebug (1) Zend Debugger (1) Phpdbg (1) Pdf (1) Multithreading (1) Concurrency (1) Web Workers (1) Fargate (1) Active Record (1) Django Q (1) Celery (1) Amazon S3 (1) Aws Lambda (1) Amazon Textract (1) Sucrase (1) Babel (1) Pdfs (1) Hanami (1) Discord (1) Active Support (1) Blazer (1) Ubuntu (1)
  • Write For Us
  • RSS Feed

The Honeybadger developer blog

Tutorials, product info and good advice from the Honeybadger crew.

Refactoring Your Rails App With Service Objects

Rails apps tend to start simple, with clean models and controllers. Then you start adding features. Before you know it, your models and controllers are big, unwieldy, and hard to understand. Refactoring into service objects is a great way to split these big pieces up, so they're easier to understand, test, and maintain.

  • author photo By Godwin Ekuma
  • #ruby
  • Jul 12, 2021

Understanding How Rbenv, RubyGems And Bundler Work Together

Rbenv, RubyGems, and Bundler work together to give us a lot of control over our code's environment. If you know how they work, you'll be better prepared to troubleshoot any problems you encounter. In this article, Olasubomi walks us through the basics of how these three tools do what they do.

  • author photo By Subomi Oluwalana
  • #ruby
  • Jul 5, 2021

Set Up A Docker Container To Test Your Rails App

Code is never self-contained. It runs in an environment. Docker lets you define that environment in a simple and portable way. That's why pretty much every automated testing and deployment service works with docker containers. You give them a container, and done! But how do you set up a container to use for testing your Rails app? In this article, we'll show you.

  • author photo By Milap Neupane
  • #ruby
  • Jun 28, 2021

Rails Security Threats: Authentication

Authentication is at the heart of most web development, yet it is difficult to get right. In this article, Diogo Souza discusses common security problems with authentication systems and how you can resolve them. Even if you never build an authentication system from scratch (you shouldn't), understanding these security concerns will help you make sure whatever authentication system you use is doing its job.

  • author photo By Diogo Souza
  • #ruby
  • Jun 21, 2021

Adding Typescript to your Existing Rails App

Have you ever thought about trying typescript for your app's front end? It's enticing, but the thought of porting all that existing JS is just too much. But what if you could gradually introduce typescript into your existing app, only using it where it made sense? In this article, Ayo Isaiah shows us how to do just that.

  • author photo By Ayooluwa Isaiah
  • #javascript
  • Jun 14, 2021

Building A New Programming Language In Ruby: The Interpreter

In earlier installments of this series, Alex Stoll guided us through creating a lexer and a parser. These translated the human-readable source code into data structures. In this article, he begins work on the interpreter - the bit that actually runs our code!

  • author photo By Alex Braha Stoll
  • #ruby
  • Jun 7, 2021

Understanding RBS, Ruby's new Type Annotation System

Ruby's flexibility has always been both its greatest strength and its greatest weakness. You can write amazingly expressive programs. You can also slip and break them in amazingly expressive ways. RBS is a new type annotation system in Ruby 3 that seeks to keep ruby's flexibility while protecting us from some of its dangers. In this article, Julio Sampaio walks us through RBS. He explains the impact it has on metaprogramming, and he shows us how we can use it to make our own apps more robust.

  • author photo By Julio Sampaio
  • #ruby
  • May 31, 2021

Using Redis as a Cache in Laravel

One of the easiest ways to speed up your web app is to cache slow-to-compute data, so it doesn't have to be recomputed the next time the page loads. In this article, Keneth Ekandem shows us how to use Redis to cache DB results in a Laravel App.

  • author photo By Kenneth Ekandem
  • #php
  • May 31, 2021

Understanding Ruby Method Lookup

Ruby lets you express yourself like few other languages, with a minimum of boilerplate. It's fantastic until it isn't. Until one day when you think you're calling the foo method you wrote last week, but instead, you end up calling a foo method that came with some gem from 2008. In these situations, knowing about Ruby's method lookup rules will save your bacon.

  • author photo By Kingsley Silas
  • #ruby
  • May 24, 2021

Rails Security Threats: Injections

One of the best things about Rails is that it protects your app from a wide variety of injection attacks with minimal development effort. But we're never 100% safe. After all, Rails can't protect us from our own bad decisions. We need to understand the threats so we know when we can lean on Rails and when we can't. In this article, Diogo Souza introduces us to the OWASP Top 10 list of vulnerabilities and dives into injection vulnerabilities to show us how rails protects us against them and how we can protect ourselves.

  • author photo By Diogo Souza
  • #ruby
  • May 17, 2021
  • ← Previous
  • Next →

Level up your software development career

Join our community of kick-ass developers as we learn engineering, DevOps, cloud architecture, and bootstrapping remote software companies. Tell me more →

    We're Honeybadger. We'll never send you spam; we will send you cool stuff like exclusive content, memes, and special swag.

    Product
    • Error tracking
    • Uptime monitoring
    • Status pages
    • Cron & heartbeat monitoring
    • Integrations
    • Plans & pricing
    • HB vs. Error Trackers
    • GDPR
    • Security
    Stacks
    • Rails
    • Laravel
    • Django
    • Phoenix
    • JavaScript
    • Ruby
    • Node
    • Python
    • PHP
    • Elixir
    • Crystal
    • Go
    • Cocoa
    Company
    • Meet the 'Badgers
    • Job openings
    • Brand assets
    • Terms of use
    • Privacy statement
    • Contact us
    Resources
    • Developer docs
    • Developer blog
    • Newsletter
    • Exceptional Creatures
    • FounderQuest
    • Twitter