lib/metro/models/models.rb
def add(model)
      all_models_for(model).each do |model|
        models_hash[model.to_s] = model.to_s
        name_with_slashes = model.model_name
        models_hash[name_with_slashes] = model.to_s
        name_with_colons  = name_with_slashes.gsub('/','::')
        models_hash[name_with_colons] = model.to_s
      end
    end
def add(model)
      all_models_for(model).each do |model|
        models_hash[model.to_s] = model.to_s
        name_with_slashes = model.model_name
        models_hash[name_with_slashes] = model.to_s
        name_with_colons  = name_with_slashes.gsub('/','::')
        models_hash[name_with_colons] = model.to_s
      end
    end
Add a model, and all it's subclasses, to the list of available models.

 A model has several names added so that it accessible in many ways:

 * Model Class Name
 * Model Name
 * Model Name with slashes replaced with `::` separator