title: Rails model generator - from existing database
body: <p>Is there any working automatic model generator for creating a model from existing database?</p>
  
  <p>Something like symfony's task <a href="http://www.symfony-project.org/reference/1_4/en/16-Tasks#chapter_16_sub_doctrine_build_model" rel="noreferrer">symfony doctrine:build-model</a>.
  I found just Dr Nic’s magic model generator but it doesn't work with rails 2.3+. Please do not recommend Dr Nic's magic models. That's not what I want.</p>
  
  <p>I don't believe that there is nothing else for such a common task.</p>
  
  <p>EDIT: I don't want to generate just empty models. I want to also automatically generate associations and validations.</p>