“I looked on the water, and what I saw was a beautiful Reflection”

November 2009
19

Nice headline, isn’t it? But it has one little drawback. By now, you’ve absolutely no idea which story I want to tell, so lets open the box and disclose the secret.

The interesting part of the headline is “Reflection”. Reflection is the name of a Ruby based command line tool, I released yesterday, that simply solves a problem I face every day: Fake data on my local development machine.

In a nutshell: Reflection synchronizes your local development environment with files or databases (managed with Rails) from production systems, without the need of direct access to these servers.

Reflection comes in 2 flavours: On the server side, collecting data — on the local side, retrieving and applying that data. It uses a shared Git repository as its store of choice. You could say, the repository acts as proxy between your development box and production.

You can find all the dirty details and setup instructions on Reflection’s Github page.

For quick starters:

  sudo gem install reflection
  reflection --help

sincerely,
your host.

“I looked on the water, and what I saw was a beautiful Reflection”