- Correct, Beautiful, Fast (In That Order) - A great technique from the Beautiful Code book. Think I'll add this to my book purchases for the year.
- Hoptoad's notifier now available in convenient gem form - Ideal for those not running Rails.
Snippets #74
Posted on 28th of January, 2010
Snippets #72
Finally got an issue with my integration tests sorted!
- Sinatra Pages - An extension for Sinatra that automatically renders pages in your views folder. Very handy for static pages!
- Bloodhound - A new gem from Nicolás Sanguinetti to convert key value strings to proper hashes.
- Scrooge - Another new one from Nicolás Sanguinetti. Easy persistence of monetary values in your database without the pain of floating point math.
Posted on 21st of January, 2010
Snippets #63
- Ruby community survey - Thoughtbot are doing an end of year survey on how developers coding practices. If you've got 5 minutes, fill it out.
- Debugging Rule #1: It's your fault! - Applications only do what they're told to do, so it's pointless trying to prove otherwise. I hope there's more of these soon!
- Top 15+ Best Practices for Writing Super Readable Code - I tend to avoid these posts as I'm quite happy with my coding practices. Read this if your new to programming in general or you want a quick refresher.
- Production Rails Tuning with Passenger: PassengerMaxProcesses - Awesome guide to getting the most out of Passenger on your application server.
- LinkedIn Gem for Web App - Quick guide to authenticating a user in a controller using the LinkedIn gem. Lots of potential for this gem in the right application.
Posted on 10th of December, 2009
Snippets #53
- Devise: authentication for lazy programmers - Check out the latest changes for the new authentication gem on the block.
- Hacking someone's gem with github and gemcutter - A great post for anyone wanting roll their versions of a gem.
- Know When to Fold'em - Good advice when you want to delegate a library you don't wish to maintain.
- The magic of thinking big - Great post about the new Build conference happening this weekend in Belfast.
Posted on 5th of November, 2009
Snippets #41
- A Month in Rails - Some of these goodies have already been posted here, but there are a few gems here (pardon the pun!) if Rails is your thing.
- Gem Packaging: Best Practices - I've haven't written any gems yet, but it's always good to learn this stuff.
- Always remember me - Thoughtbot's authentication engine has changed how its "remember" default.
- Migrating to Snow Leopard for Rails Development - A Definitive Guide - Mike Gunderloy has written a very detailed guide to getting a working Rails environment going on Snow Leopard. I'm definitely going to be using this guide myself when I eventually upgrade in a few weeks.
Posted on 3rd of September, 2009
Snippets #22
- Introduction to Git Part 2: Branches - The Quite Useful blog continues its’ series a look at branches in Git.
- JSONQuerying Your Rails Responses - This looks like a start of new project to watch for on GitHub.
- Validating form_tag in ActiveRecord - A simple solution to adding a validation to something like a contact us form.
- Google Charts gem - I’m looking to use this for a Sinatra app to display some charts for Twitter data.
Posted on 30th of June, 2009
Snippets #21
- Production Log Analyzer - Useful little gem gets a version bump this week.
- An easy way to write named scope tests - Zach Brook shows how easy it is to test your named scopes.
- Getting Started With Restful Authentication in Rails - Nettuts has created another Rails tutorial for the masses, but this might be a bit basic for some.
- Introduction to BDD with Cucumber - This seems a better fix for me than RSpec.
Posted on 25th of June, 2009
Snippets #11
- Fat Binary Gems - An idea by Aaron Patterson to target multiple versions of a gem on the Windows platform.
- Fun with Class.new - Gregory Brown shares some tricks using
Class.new. - Demystifying Irb’s Commands - The Tagaholic blog delves deep into Irb’s commands.
Posted on 13th of May, 2009
About Me
My name is Matthew Lang, and I'm a Web Developer based in the UK. I'm passionate about web development using open source frameworks and agile methodologies.
I'm very interested in working with Ruby and Ruby on Rails on a more permanent basis.
Check out my current projects on Github.
Home // Twitter // Github

Find Me
Github
Home for all my open source projects.
Blog
My blog focused on web development with a preference for Ruby.
Twitter
My daily rants and raves on web development.