title: Dynamically creating models for a table in rails
body: <p>I have a migration that will dynamically create tables on fly per date.  Something like this:</p>
  
  <pre><code>class CreateCollectorPeriodTable &lt; ActiveRecord::Migration
  
    def self.create_with(name)  
      create_table name.to_sym do |t|
        t.string :text, :limit =&gt; 1024
      end
    end 
  end
  </code></pre>
  
  <p>I want to create a model that will access this migration.. </p>
  
  <p>I did read this: <a href="https://stackoverflow.com/questions/1986301/rails-generate-model-from-existing-table">Rails Generate Model from Existing Table?</a>, but in another question someone explained why I shouldn't try and make one model fit many tables..</p>
  
  <p>Any suggestions?</p>