The Worst Rails Code You've Ever Seen (And How Not to Write It Yourself)

Location: Portland Ballroom 252 Level: Novice
Average rating: ***..
(3.00, 1 rating)

Most Rails conference talks, programming blogs and reference books try
to teach you the “right way” to code your applications. The thing is,
the right way to code an application is very dependent on the context
in which you are coding it. On the other hand, there certainly exists
code which is just plain wrong. Code that just screams 100% FAIL, for
various reasons. As with everything in life, there are things in Rails
that you simply should just never do, no matter what the context.
Unfortunately, most of us learn those things via cold, hard

In this fun and self-deprecating talk, Obie presents the absolute
worst Rails code that he could dig up, reaching back into three years
worth of projects that he and his friends have written and maintained,
looking for the most wretched examples of how NOT to design and
implement your own Rails application. Perhaps more importantly, Obie
will present ideas for avoiding similar mistakes of your own, as well
as real-world advice that might help you to fix your own bad Rails

Photo of Obie Fernandez

Obie Fernandez


Author of The Rails Way, the definitive reference guide for Ruby on Rails, Series Editor of the Addison-Wesley Professional Ruby Series and well-known member of the international Ruby community.

News and Coverage
co-presented by Ruby Central, Inc. O'Reilly
  • Engine Yard
  • Sun Microsystems
  • FiveRuns
  • GotThingsDone
  • Heroku
  • ThoughtWorks
  • Atlantic Dominion Solutions
  • Blue Box Group
  • CodeGear
  • E-xact
  • ELC Technologies
  • EnterpriseDB
  • GemStone Systems
  • Intridea
  • Morph Labs
  • RightScale
  • TechRepublic

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at RailsConf, contact Yvonne Romaine.

Download the RailsConf Sponsor/Exhibitor Prospectus

Media and Promotional Opportunities

Download the Media & Promotional Partner Brochure (PDF) for more information on trade opportunities with O'Reilly conferences, or contact mediapartners@

Program Ideas

Post your suggestions for speakers, topics, and activities on the RailsConf wiki or send an email to

Press and Media

For media-related inquiries, contact

Contact Us

View a complete list of RailsConf 2008 contacts.