all model names in a rails project ?

you could:

Dir["app/models/*"].each do |f| p f ##

OR:

ActiveRecord::Base.connection.tables.map {|t| t.classify}
from the nice folks in NZ:
http://groups.google.com/group/WellRailed/browse_frm/thread/abd9440d0eb26d44

or in MySQL, SHOW TABLES;