Avoiding and Fixing Rails AntiPatterns
Location: Room 307 - 308 Level: Novice
As experienced Rails consultants, and authors of the upcoming Rails AntiPatterns book, Chad Pytel and Tammer Saleh have seen their fair share of terrible code.
This half day workshop will be split into two sections. In the first, you’ll be given code with a number of AntiPatterns present, that are examples from the wild. There will be a group discussion about the appropriate fix for this AntiPattern, proceeded by a coding session where you fix the problems using suggested Rails best practices.
In the second section, members will volunteer their existing projects to undergo a group code review, identifying AntiPatterns and exploring potential best practice refactorings in real time.
This workshop is best suited for developers already familiar with Ruby on Rails. Participants should bring their laptops, setup for Ruby on Rails development, and any code they wish to share.
As part of the tutorial, the speakers will be running group code reviews
in the format of lightning talks. They will be looking for people to
volunteer to give an overview of their code (no more than 5 minutes).
They will be taking volunteers the day of, but if you know that you are
interested in doing this, please complete this form ahead of time:
Also, please make sure that you bring a computer that is set up and ready
to go for local Ruby and Rails development.
Chad Pytel is the founder and CEO of thoughtbot, a software development firm specializing in Ruby on Rails and creators of paperclip, shoulda, factory_girl and Hoptoad among other projects. thoughtbot embraces both agile development methodologies and a “getting real” project philosophy. Chad was co-author of Pro Active Record: Databases with Ruby and Rails (APress) and has presented at various conferences around the world. Chad lives with his wife and son in Boston, MA. When not managing projects and writing code, Chad enjoys just spending time with his family. To follow along with Chad and the rest of the thoughtbot team’s ideas on development, design, technology, and business, visit their blog.
Tammer Saleh wrote the Shoulda testing framework, was the primary developer and project manager for Thoughtbot’s fantastic Hoptoad service, and is currently co-authoring Addison Wesley’s Rails AntiPatterns with Chad Pytel. He’s also an experienced Ruby on Rails trainer and speaker. In previous lives he’s done AI programming for the NCSA and the University of Illinois, as well as systems administration for Citysearch.com and Caltech’s Earthquake Detection Network. You can read more about him at tammersaleh.com.
Comments on this page are now closed.