The danger of Rails.env.production?

By Derek Bullet_white Comments Comments

When I do a code review, one of the scariest things I see is logic like this:

if Rails.env.production?
  do_additional_work
end

Why? Your beautiful tests and tightly integrated CI system won't execute that code. You won't see that code execute as you refresh your browser in development. From syntax errors to misspelled referenced classes, you'll be blind on exceptions...until you deploy to production.

Read More →

 

Server Monitoring Update

By Andre Bullet_white Comments Comments

Server Monitoring has had a slew of upgrades in the last few months. The general themes are (1) support the needs of larger customers, and (2) make it even quicker and easier to navigate your server metrics and respond to issues:

Read More →

 

Five tools for profiling Rails apps

By Derek Bullet_white Comments Comments

Starting with Fiveruns TuneUp in 2008, a number of in-browser Rails profilers have come, gone, or continue to exist but in a zombie-like half-alive state. Finding profilers that reliably work in 2017 with little effort was a bigger challenge than I thought. Here's a 2017 summary of the Rails profiler ecosystem: what works, what doesn't, and each profiler's niche.

Read More →

 

Rails::API vs. Sinatra vs. Grape: which Ruby microframework is right for you?

By Derek Bullet_white Comments Comments

Rails dominates Ruby web frameworks: the next most popular framework, Sinatra, has 5% of the popularity of Rails. However, that doesn't mean non-Rails frameworks like Sinatra and Grape don't have their place.

When does it make sense to step away from ActionController and use another framework? What are the sweet spots and gray areas for these frameworks?

I'll explore these questions below.

Read More →

 

Unicorn vs. Puma vs. Passenger: which app server is right for you?

By Derek Bullet_white Comments Comments

The Ruby app server ecosystem has consolidated around three app servers in 2017: Unicorn, Puma, and Passenger 5. What specific problems must an app server solve for Ruby? How do you pick the right app server? Is there a need for each of these app servers in 2017?

In this post I'll cover all of the above, as well as compare and contrast the three leading Ruby app servers.

Read More →

 

Honeybadger's Ben Curtis on bootstrapping, competing aganst VC-funded companies, and life managing a large Rails app

By Derek Bullet_white Comments Comments

Exceptions happen. To everyone. For half a decade, Honeybadger has given sanity to the art of bug hunting, monitoring exceptions for Heroku, eBay, DigitalOcean, and many more. I was able to steal some time from Ben Curtis, one of the Honeybadger co-founders, to talk about their origin story, life as a self-funded company, his favorite web framework in 2017, the infrastructure behind Honeybadger, and more.

Read More →

 

Older posts: 1 2 3 ... 61