February 2012
6 posts
1 tag
You can't change the history - the story of Git
Working with Git can be scary, especially once you get into the more advanced commands, such as reset, rebase and merge. Even little things like deleting branches can cause fear of losing some data.
Not so long ago, when I had to do something a little bit destructive (rebasing), I always backed up my whole repository in order to be able to undo any possible damage.
But what I learned...
3 tags
Why I prefer request specs over cucumber
I’ve always liked the idea of doing BDD, and especially Cucubmer, as it just makes everything super clear. Writing scenarios feels so natural, especially when you’re not sure about the project, writing down specific steps of the scenario can help you figure out what is actually going to happen.
The problem is, at least for me, when I have to implement the steps. In an ideal case, I...
1 tag
The journey to NoSQL
Disclaimer: I’ve never used a NoSQL database before for a real project. I’ve heard about them, and I tried some little things, such as using a MongoDB (MongoHQ) as a hash-in-the-sky storage, I used Redis as a cache for a while before going back to memcached and that’s basically my whole NoSQL experience.
However as I’ve been recently discovering, there’s a lot more...
3 tags
Should we write specs for validations?
When I was starting with TDD in Rails, I had times when I wasn’t really sure what to test for. Some of the apps were so simple that there wasn’t really that much to test, but I wanted to practice. I wanted to keep writing code.
I had this inner conflict about testing validations. At least for me, validations were kind of like getters and setters in their complexity. You don’t...
Why am I never using PrestaShop again, ever!
For some reason, I thought that widely used opensource projects will have clean and easily maintainable code, but I was wrong.
I’ve been using PrestaShop for over a year now, generally for clients who just wanted a cheap e-commerce and didn’t really care how it gets done. At the time I needed to do this for the first time, I asked around among my friends who have some e-commerce...
theconfusedtraceur asked: What theme are you using? It looks really nice. (Found your blog through Pinboard's top bookmarks)