Jonathan Pepin

How I built a countdown in Javascript

2013-03-13
Today, we are expanding our house cleaning services (http://iamexec.com/race/) to 4 new cities; Los Angeles, Chicago, Boston and New York. To celebrate, we are organizing a Race for the Chore, where the city with the most house cleanings booked will get...

Why you must love ActiveRecord

2013-02-18
ActiveRecord is the database "management" tool used by Rails. To use a smart term, it's what we call "ORM", or Object-Relational Mapping. What does that mean? When you start a project, you could decide to do it in Ruby, Python,...

My Git personal journal

2013-01-17
how git works https://codewords.recurse.com/issues/two/git-from-the-inside-out # remove a file ruby $ git rm /file/path Deletes the file and removes it from the git tracking at the same time. # add all the removed files ruby $ git add -u...

Do whatever you want

2012-12-26
Don't tell me it's impossible. There is no problem, only excuses to stop you from acting. Exactly a year ago, January 1, 2012, I woke up and as every morning, got an allongé and went to read Techcrunch; My...

Sandi Metz at Parisoma

2012-12-25
If you're a Ruby developer and you havn't read Sandi Metz's book POOTR, shame on you. If you havn't heard of her... well shame on you, but trust me, now you know her, you're life is already happier! Whomever you...

Rails Elevator of Migrations

2012-11-11
Migrations Elevator Psy http://images.wikia.com/mlp/images/4/40/Elevator.gif In rails, modifications on the Database are made through migrations. Migrations are sort of like git, for databases’ schema. Every time you want to modify your database, you create a new migration file, allowing you to revert...

Playing with Hash#sort

2012-09-11
Sorting a Hash I wanted to understand what happened under the hood when hash.sort is called; ruby hash.sort { |a, b| b[1] <=> a[1] } If you can't answer, you might want to read. *** First, let's begin...