title: (Object doesn't support #inspect)
body: <p>I have a simple case, involving two model classes:</p>
  
  <pre><code>class Game &lt; ActiveRecord::Base
    has_many :snapshots
  
    def initialize(params={})
     # ...
    end
  end
  
  class Snapshot &lt; ActiveRecord::Base
    belongs_to :game
  
    def initialize(params={})
    # ...
    end
  end
  </code></pre>
  
  <p>with these migrations:</p>
  
  <pre><code>class CreateGames &lt; ActiveRecord::Migration
    def change
      create_table :games do |t|
        t.string :name
        t.string :difficulty
        t.string :status
  
        t.timestamps
      end
    end
  end
  
  class CreateSnapshots &lt; ActiveRecord::Migration
    def change
      create_table :snapshots do |t|
        t.integer :game_id
        t.integer :branch_mark
        t.string  :previous_state
        t.integer :new_row
        t.integer :new_column
        t.integer :new_value
  
        t.timestamps
      end
    end
  end
  </code></pre>
  
  <p>If I attempt to create a Snapshot instance in rails console, using </p>
  
  <pre><code>Snapshot.new
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>(Object doesn't support #inspect)
  </code></pre>
  
  <p>Now for the good part.  If I comment out the initialize method in snapshot.rb, then  Snapshot.new works.  Why is this happening?<br>
  BTW I am using Rails 3.1, and Ruby 1.9.2</p>