What everybody ought to know about Ruby on Rails 4.1

One of the most important things to know about Rails 4.1 is that even the beta version is stable enough for some companies to use it in production. For example,Basecamp began Rails 4.1 beta1. Other important features from the release notes include the Spring application preloader, changes to config/secrets.yml, Action Pack variants, and Action Mailer previews. You can find the full list of changes by reviewing the list of commits in the GitHub repository for Rails.


Speed up Rails tests 10x by using PORO domain models

If you're like most Rails developers I know (including myself), you're probably used to writing "unit" tests in RSpec that load up the whole Rails framework before each test, which takes a few seconds to do, even if you're only testing one tiny thing.



Refactoring Ruby using Sprout Classes

One of the hairiest challenges of working with some legacy applications is that the code wasn't written to be testable. So writing meaningful tests is difficult or impossible.


Move a file in *nix without retyping whole path

If you've been using the Unix/Linux command line for any length of time, you're certainly familiar with time-saving techniques like tab completion and reverse-i-search. Chances are you use these darling keystroke-savers daily.









Comments are a beautiful thing

Github flavored markdown lets you add structure, images, links and code to your comments. By the way, did you know that you can comment on an error just by replying to it's email notice? Pretty cool, huh?






Lessons from Rails Rumble

We were very excited when we found out we would get to sponsor this year's Rails Rumble competition, and are proud of all the great contestants and new apps that they've built using our favorite web framework!


Rails Rumble: Our Staff Picks

Another rails rumble is over, and now we get to see the apps! There are almost too many entries this year to look at them all. But never fear, the intreped honeybadger team is here to help you sort through them with our much-awaited staff picks!