logo Boston Ruby Group


what

September 2013 ~ RSS

September 10, 2013

Restructuring Rails

by Eric Marthinsen

The Rails way isn't always the best way. What's great for rapid application development is sometimes bad for a long-lived application. In this talk, we'll learn how the codebase of Sortfolio.com was refactored to make it faster, easier to modify, more testable, and ready for the long-haul. We'll see how it's CodeClimate score was increased from a 2.78 to a 3.51 and how you can apply these same principles to your own apps.

A Big Look at MiniTest

by Mark Bates

With Rails 4 supporting only Ruby 1.9 and above it can fully embrace the MiniTest library that ships with Ruby 1.9. What does this mean for Rails developers? Let's find out. In this talk we'll look at using MiniTest in a simple, non-Rails, project and then work up to using it in a Rails application. We'll look at both the TestUnit and RSpec style syntaxes that MiniTest offers. We'll also learn to write custom matchers, run specific files, and much more. Testing is important to all Ruby and Rails developers, and with such a powerful testing library already bundled with Ruby, shouldn't we learn how to use it?