Vim has quickly become my go-to editor of choice for Windows, Mac and Linux. So far I’ve had about three months of serious Vim usage and I’m just starting to hit that vim-as-second-nature experience where the power really starts to shine. I’m shocked I’ve waited this long to put in the time to seriously learn it. Now that I’m past the beginner hump I wish I learned Vim long ago- when I tried Vim in the past, I just never got over that WTF-is-going-on-here frustration! Better late than never I suppose!
Machinist 2 + Mongoid + Embeds_Many Goodness
December 9th, 2010 § 0 comments § permalink
I had a heck of a time getting fixtures working with Mongoid when it came to a required embeds_many property. No matter what I did, I kept getting an error: “Access to the collection for XXX is not allowed since it is an embedded document, please access a collection from the root document.”
Rails: Fixing Bundle “No Metadata Found” issues
November 14th, 2010 § 1 comment § permalink
In playing around with Rails this weekend, I ran into an annoying error when trying to set up some bundles- specifically with Webrat and Cucumber, which I found very odd:
Expressions and Lambdas: Oh My!
November 13th, 2010 § 1 comment § permalink
I’ve been working on a toolkit called Redaculous- it’s a .NET Library for the really cool key/value store Redis. It’s built on top of the ServiceStack.Redis library, which provides various .NET clients for Redis. Redaculous is meant to make aggregating Redis commands a little easier- but don’t get too excited. The project is in its infancy, and will undergo many changes, if it even gets off the ground. This post isn’t about Redis nor Redaculous- it’s about how parts of Redaculous leverage Expressions and Lambdas to drive a lot of the functionality Redaculous is meant to provide, and how you can leverage Expressions to make your programming life easier. ASP.NET MVC and lots of other great frameworks do it, so why can’t you?
