From http://bertanguven.com/get-a-list-of-all-model-in-rails
# Loads all your models into the memory Rails.application.eager_load! # Using all the models in the memory find the objects that extend the activerecord object ActiveRecord::Base.descendants