Megamodels for Ruby on Rails