Jonathan Pepin

Ajax in Rails

2013-07-19
Convention over configuration. How many times have I heard that. It's one of the core concept around which Rails is developed. And I think it's amazing. It is the exact reason why learning Rails is easier than most other programming...

Changing a Getter behavior for better polymorphism

2013-07-09
Polymorphic associations are awesome. In rails, even better. It's so easy to use, there is no excuse to do without them. But sometimes, it's so easy and all pre-made for you, that it's tricky to decide how to play/modify some...

Post-login redirection to requested page with Devise

2013-06-17
Often, the login redirection has a static redirection to say, rootpath or userpath. When a logged out user tries to access a page that requires to be logged in, it is better, for a good user experience, to dynamically redirect...

Empathy ain't useless! Learn it!

2013-06-04
Now that I'm a mentor at DevBootcamp, I get to talk with a lot of learning developers, help them and see their final projects. Every single new graduation, my mind gets blown, not only by how good the projects are,...

I screwed up (big time)

2013-05-28
At first when I tried it for the first time, I was scared. I didn't really know how it worked. I didn't really know how to do it. People around me showed me. I was totally out of confidence. Everytime...

Better methods, better performances

2013-05-24
This is just a quick post to talk about how small changes can make a big difference. Sometimes, a simple change of built-in method can make a big difference in your application's performance, just because of the way it works,...

Don't underestimate super.

2013-05-21
Here at Exec, I've been working for a bit now into having a system to allow us to log whatever happens in the system; Either a modification is made by an admins through the admin's dashboard, or a user directly...

Making Ajax calls to rails

2013-05-12
For the past few weeks, I've been working on our new mobile website at Exec, so user's wihout our iPhone app can still easily book a house cleaning. For a better experience, I used knockout.js to make the booking flow...

Ask yourself "WHY"

2013-05-08
As software engineers, our relation with the tools we are building is completely different than the one the users we are building for have. Because we know what's happening behind the scene, our experience using the tools and how we...

Why San Francisco inspires me

2013-03-24
In Chicago. City on the make (http://37signals.com/svn/posts/3484-chicago-city-on-the-make), Jamie from 37signals says > I believe our Getting Real approach and REWORK perspective just would not exist without Chicago’s “real-ness” in our blood. He then asks > What do you love about your...