Find and replace {} in sed

There's an awkward gotcha when trying to find and replace the empty hash/object with sed

Dave Tapley

Per tenant IDs, with CanCanCan

Dave shows how to scope a IDs to tenants, in a multitenant system, using CanCanCan

Dave Tapley

Preventing Rails.cache.fetch From Caching Content in Development

We ran into a strange problem in our development environment recently that had us puzzled. Even though we'd turned off caching, we were still seeing cached results. What's going on?!

Curtis Miller

Level Up With a New Podcast

Chris keeps telling me I should listen to more podcasts, but I keep putting it off. No more! I've made it a goal to create a wondorous playlist of epic proportions. Here's a podcast I found recently that kept my attention, was interesting and fit perfectly into my commute.

Curtis Miller

CodeDay Phoenix - May 23-24, 2015

CodeDay is an event geared toward students, where they go from idea to app in 24 hours. It's been organized in Phoenix a few times and we're really excited to see it back again. Check it out!

Curtis Miller

Pessimistic Prerelease Peculiarities

We show that a commonly held assumption about the pessimistic requirement operator isn't necessarily always true, specifically when dealing with prerelease gem versions

Dave Tapley

5 Indispensible Rails Testing Gems

There are certain Ruby gems that we've found to be useful and include in every project we work on. Here are a few of the testing gems we feel are indispensible.

Curtis Miller

STI store: Putting attributes in their place

We show some of the disadvantages which arise when adding attributes to models which use single table inheritance, and introduce a new approach which resolves them.

Dave Tapley

3 Things We're Looking Forward to at RailsConf 2015

Velocity Labs is traveling to Atlanta for RailsConf 2015. Here are a few things we're excited about for the conference!

Curtis Miller

Easily retrieve tags from a PostgreSQL array in Rails

How to select array values easily, and efficiently, from a PostgreSQL array type in Rails.

Curtis Miller