Faker 0.9.0 released

It's been two-and-a-half years since the last release of the faker gem, so it's about time for another one. :) For a long time I've been kicking around the idea of using the I18n gem to make it easier to support different formats (think zip codes in the US vs. postal codes in the UK) without having to change the method signatures, so I sat down today to give it a whirl. I was pleasantly surprised with how quickly I was able to get it implemented, so kudos to the folks who have done all the hard work of making that gem work as well as it does.

In fact, my love for that gem has grown over the last several months as I've used it on a few different projects. I had one client who wanted everything localized in his Rails app, which helped me get familiar with it (and eventually enchanted with it). One thing that I found fun to do (which may indicate I've crossed the line into gem abuse) is to store starter data in the locale files. For example, if you wanted to give new users a sample list of groceries when they create an account in your grocery list tracker app, you could do something like this:

Then you can create a list of groceries in the user's native tongue.

So check out the latest faker, and find crazy stuff like that and more! :)