Andrew Burke - Digital Construction since 1994

On Twitter

On Facebook


andrewburke.ca - Errormail

 

Posted on: 2006-01-25 10:37:26

Previous: iTMS Next: Reading Sideways

I'm putting the finishing touches on my first big project written with Ruby on Rails. It's been a joy to work with - flexible and fast.

I'll write more about my experiences with Rails at another time - but one of the best things I've done with this application is to have it send me an email every time there's an error on the server. The email includes the URL in question, a stack trace, the last 10 events in the tracking log, and all of the elements stored in the current session.

I could have done this in Java - in fact I have in other projects - but the amount of flexibility and the richness of the resulting detail I was able to get without poking around through volumes of API documentation was great.

Getting an email whenever something goes wrong means that I'm often able to respond to issues before people even get the chance to tell me about it - or even before they notice there's a problem.

Also, deploying involves kicking the server and copying the files over - a process that takes about a second and doesn't kill anybody's session information - so I can deploy in the background without anybody noticing.

Of course, if I'd thoroughly implemented the unit and controller testing frameworks that come with Rails, I wouldn't have many of these errors in the first place - but hey I've managed to start flossing on a daily basis and don't drink soft drinks anymore - I can only do so many virtuous things at a time!

Previous: iTMS Next: Reading Sideways

Other Blog Posts:
- Nova Scotia and Auld Scotland
- Edinburgh: Stratigraphic Culture
- Edinburgh Without Expectations
- EasyJet: Discount Class Conflict
- Berlin: World Cup
- World of Donairs
- Berliner Ensemble
- Berlin: Museums
- Berlin: Ghosts of the Past, Visions of the Future
- Flâneur in Berlin
- Berlin: Finding the Best Wurst
- Istanbul: Overwhelmed by History in the Hippodrome
- Istanbul: That dolphin-torn, that gong-tormented sea
- Istanbul: The Topkapi Palace and Harem
- Istanbul: Mosques
- Istanbul's Basilica Cistern: Gorgeous, Creepy, Nerdy
- Istanbul: Hagia Sophia
- The Streets of Istanbul - II
- The Streets of Istanbul - I
- Munich Airport: Legoland mit Bier und NapCab
- Heathrow Airport: You Are In A Maze Of Twisty Little Passages, All Different
- Getting Ready to Travel
- Quick Advice on Canadian Indie Music
- My Favourite Roadside Sign
- Well That Explains a Lot...
- Poland: Gear from the Army Museum
- Poland: Warsaw's Palace of Culture and the University Library
- Poland: Warsaw
- Poland: Winged Hussars
- Poland
- What's awesome about Toronto
- Possibly the best sentence in the English language
- QUOTE: We Shouldn't Have Music Anxiety
- Now *that's* Santa Cruz
- Small Town Newspaper Headline Dada
- Great Quote from Seth Godin
- McSweeney's: My Pet Peeves
- Shindig!
- Dresden Dolls / Die Mannequin / Friendly Rich at the Phoenix
- In Store for 2008: Wailing and Gnashing of Teeth?!
- Coffee Updates: Urbana and Far Coast
- Canadian: Walking to Tim Horton's Through a Blizzard
- Lighting as language
- TSOT Ruby/Rails Project Night
- IE is pants, pure and simple
- Passport Canada's Secure Enterprise Software
- DemoCampToronto16
- Faulty By Design
- Buynlarge.com - brilliant!
- Joey Starts at TSOT and Jeff goes 37Signals
- How To Doom Your Own Industry
- It's Sigmoidal, Stupid!
- Quick Update on Secured OS X Mail
- Alpha Geeks and Jedi Hooligans
- Now Fake Steve is Getting Close To Home
- Nice Rant on the Sanctity of Farming
- They Must Have Been Reading This Blog
- Well, so much for Reddit
- Zipcar: My Other Car is a Mini Convertible Named Munster
- XKCD Job Interview
- John C. Dvorak Misses It
- Protecting Your OS X Mail With Encrypted Volumes
- Fake Steve Jobs hits it
- My Favorite Bit From Herodotus
- Enterprise Software - like on the spaceship, right?
- So why, again, are you taking so long?
- That sounds about right for Oberlin
- Music, With Occasional City
- How to do Google Maps-Style Scrolling Windows with JavaScript and DHTML
- The Young Gods Play Kurt Weill
- Want a Rails Job?
- Quote of the Day
- Witty and Vibrant, Sensitive and Cranky
- Facebook, already - geez
- The Bolivarian Republic of Wednesday and Pudge
- Here are the real links for the previous post
- Venezuela: How To Have A Good Party
- It's a PHONE that runs UNIX!
- Congratulations Pat & Chris!
- About Venezuela: Traffic
- Venezuela Stuff Coming Later - But While I'm Recovering...
- My most popular posts are un-published!
- ... that creepy ass botox-phenomenon
- Prototype Library and JavaScript
- Godin LG Hmb - my new guitar
- Safari For Windows - What Apple Missed
- Joel Corrects Himself In Mid-Post
- Yorkville's Summer of Love with Gucci
- Update: Coffee
- RJS / AJAX Highlight Colouring in Rails
- Looking Real Good!
- Post-something Post on Big Bags
- Disclaimer
- Analgesic Code: Backtrack
- Baby Steps With EMACS
- Back in Santa Cruz
- You know, I agree that we should worry about Global Warming...
- Life Tip: Digitize Your Documents
- Nifty OS X Finder Enhancement With Little AppleScripts
- Toronto DemoCamp 12

All Blog Entries

RSS Feed


Back