Thursday, January 7, 2010

Railroad gem

This Gem is AWESOME. But it's also out of date in just one way that I've noticed.

application.rb was deprecated in Rails 2.X.

Comment out or delete the following two lines from the gem in
lib/railroad/controllers_diagram.rb:

files << 'app/controllers/application.rb'
require "app/controllers/application.rb"

I haven't tried it, but it looks like the railroad_xing gem takes care of this.