Migrating Rails with a Massive Codebase | Building on Backbone.js with Rails

San Francisco Ruby on Rails Group
Thu, 26 Jul 2012, 02:00 - 05:00 (Add to calendar) GMT
(Exact location not available) , San Francisco, US



7:00 Pizza/Beer/Networking

7:30 Intros/Host/Every Day Carry

7:45 Rails Upgrades Across a Massive Codebase (Causes)

8:10 Building on Backbone.js with Ruby on Rails (Snip.it)

9:00 End


Talk 1: Rails Upgrades Across a Massive Codebase

Greg Hurrell from Causes will talk in depth on the upgrade process, the pain points involved and the lessons learned that translate into better management of one of the largest sites running bleeding-edge Rails.

Topics include:

  • Migrating a large app to the static asset pipeline
  • How our master/slave adapter broke with every new version of ActiveRecord
  • Problems caching the ActiveRecord relation instead of the result set
  • 3.2.3-stable not being stable, but only breaking observably with the amount of traffic Causes has
  • What upgrading Ruby from 1.8.7 to 1.9.3 did for performance

Greg Hurrell
Software Engineer, Causes
Greg led the charge upgrading Causes from Rails 2.1 -> 2.3.14 -> 3.0.12 -> 3.2.3 across a codebase of several hundred thousand lines of code. He has many stories of love and hate (mostly love) when it comes to Rails and will entertain you with some of the better ones.


Talk 2: Building on Backbone.js with Ruby on Rails

Mark Percival from Snip.it will talk about the combination of Backbone.js and Ruby on Rails. (Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.) Some of the questions/issues he'll discuss include:

  • How Backbone.js changes the view layer
  • Should we cross the domain?
  • Exceptions are now happening in two places, fantastic
  • Versions aren't just for gems, API's need them too
  • Preloaded data means one less trip
  • How the #$% do I login
  • 'rails s' is just the start (how to get your dev environment up to speed with an integrated framework)

Mark Percival
Director of Engineering at Snip.it

Mark is former mobile engineer at Twitter and is one of the core team members at Snip.it. Snip.it is a popular social curation site that lets you discover, capture, and lend your voice to important topics and stories as they evolve through articles, video, images and other online content. In his free time, Mark likes to eat fearlessly, avoid traffic, and work on open source projects.

You might also like...


Other nearby events



Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.” - Donald Knuth