This question is reverse of this question: How to determine table name within a Rails 3 model class .
My intention is to look at Rails project database and try to figure out all possible model classes the project is related to. I have few clues, such as to get table name list from AR connection, etc. But down to table_name -> model class mapping. I got no idea.
Thanks.