When navigating sites, users sometimes encounter the popup below when navigating away from a page. This confirmation is important in times when data might be lost when leaving a page. Normally, this is done by: window.onbeforeunload = -> 'Your new changes will be lost.' However, Backbone applications are single-page applications....

Imagine that you’ve been invited to your best mate Derek’s birthday bash at his flat. Owing to traffic and bus strikes you arrive later than usual to the party, and when you knock… nobody answers! Apparently Derek decided that the local Nando’s was more banterous than his flat, or perhaps...

In our company, we generally have a pretty simple structure of git branching. master reflects production. develop reflects work-in-progress before daily release. Anything else is usually a branch off develop. Due to its simplicity we rarely have to deal with anything too complex, just the odd rebase and conflict when...

We use FactoryGirl a lot in our development team. In fact we have a whole gem dedicated to providing core business models and their factories. But sometimes our apps need to extend their functionality. Perhaps it’s expecting some extra default values, it may be extending the models themselves with before...

A few days ago, I read the Japanese edition of “Developing a React Edge”. I was so impressed that I played with React to learn it. It was very fun! Yesterday I did a presentation (lightning talk) at Shibuya.rb, a local Ruby meetup in Tokyo, Japan. I presented my thoughts...