Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

Ben Smith

Posts By

LABS
Pivots Talking Tuesday: Hacking with Gems

Do you ever stop and wonder if the library you’re about to “gem install” is safe? Have you thought about what’s the worst that could happen by using a gem? Today, I (yes, yours truly) explore those questions in a talk I gave a RuLu this summer.

Read more »

LABS
Pivots Talking Tuesday: Paired Ruby

Being a Pivot means pair programming 8 hours a day, 5 days a week. If you’ve never paired before that might sound crazy, but ask any Pivot and they will tell you how incredibly awesome it is! If you can’t find a Pivot nearby to buy a beer and pick their brain on how full-time pairing works, check out this video of John Foley talking at RubyKaigi 2013 about his experiences pairing at Pivotal Labs.

Read more »

LABS
writing Rails engine rspec controller tests

If you are trying to test controllers under a Rails engine, you might come across this error:

Failure/Error: get :index ActionController::UrlGenerationError: No route matches {:action=>"index", :controller=>"engine_name/controller_name"}

Despite, setting up your routes, controller, and mount correctly, the tests cannot find your route.

Read more »

LABS
Faking authentication for capybara tests within a Rails engine

If you are using engines to break up your large Rails app, you might end up with a strange case where you cannot login for your capybara tests within individual engines. It sounds weird at first, but the engine your trying to test might not have a dependency on the engine that provides authentication.

Read more »

LABS
Pivots Talking Tuesday: Nokogiri – Past, Present and Future

Ever wonder how that one gem you use all the time came to be? New York Pivot, Mike Dalessio, tells the story of Nokogiri in today’s video from GoRuCo 2013. Watch to see how what started as an email conversation, turned into a gem with 12 million downloads!

Read more »

LABS
Pivots Talking Tuesday: Minding Your Own Business

Today I present to you Lisa Crispin speaking at TestBash 2.0! Lisa discusses why you should learn the business domain you are working in, how you can do it, and follows it up with some great success stories from her and the audience.

Read more »

LABS
Pivots Talking Tuesday: Arduino the Ruby way

This week on Pivots Talking Tuesday, I present to you Austin Vance speaking on using Ruby with Arduinos at Ruby Conf 2012. If you’re wondering what the thing is he’s standing next to, it’s a Ruby and Arduino powered tshirt cannon… and yes he fires it during his talk.

Read more »

LABS
Pivots Talking Tuesday: Startup Architecture

Welcome to the first of many Pivots Talking Tuesday blog posts! On a biweekly basis, we will be posting videos of Pivots speaking at conferences, user groups, and other awesome places. So if you didn’t get a chance to see us live, check back here once a week and get the lowdown on what we’re talking about.

Read more »

LABS
Moving db tables between Rails engines

If you’re using Rails engines to break up your app and you’re putting your migrations in the engines, then you’re already doing great! Here’s an additional pro-tip when it comes to having migrations within your engines: only allow each migration to touch one db table.

Read more »

LABS
leave your migrations in your Rails engines

If you are using Rails engines to break up a single app into modular pieces, migrations (as they are currently implemented in Rails 3.2.13) become clumsy.

There are three options for migrations within an engine (spoiler: #3 is the best):

1) You can use the your_engine_name:install:migrations rake task, which copies the migrations out of the engine and into the wrapping Rails app where they can be run normally.

Read more »