Joined June 2012
·

Emil Stolarsky

Toronto, Canada
·
·

Posted to Showing errors messages in Rails 4 over 1 year ago

Why would you want to create the error partial in the view helper? All you're doing is inlining the ERB and creating technical debt.

Posted to Speeding up AngularJS's $digest loop over 1 year ago

Awesome stuff, thanks for the tip! Instead of:

watchers = undefined;

you should do

watchers = void 0;

This is because undefined is simply a variable on the window object that hasn't been defined yet while void 0 will always return undefined.

Posted to Clean Postgres on Mac Mavericks over 1 year ago

Why would people do development on their main machine when they can just spin up vagrant with premade buildVagrant.sh files? 5 minutes and bam, you've got yourself a clean environment to work in without polluting your main machine.

Achievements
77 Karma
1,164 Total ProTip Views