Rails application reverse engineering