title: Rails 3.2 to 4.0 Upgrade: Undefined method to_datetime for false:FalseClass
body: <p>I'm upgrading a Rails application I've inherited from 3.2 to 4.0.1.  I followed and finished the edge guide here: </p>
  
  <p><a href="http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-3-2-to-rails-4-0">http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-3-2-to-rails-4-0</a></p>
  
  <p>I've gotten everything fixed except for a single error that I can't seem to find the root cause of.  When I attempt to save a User model object, I'm met with the following error:</p>
  
  <pre><code>[1] pry(main)&gt; User.create(name: "test user", email: "testuser@frobnitz.com", password: "testPassword123", password_confirmation: "testPassword123")                                                                                                                               
  
  (0.6ms)  BEGIN
  (0.9ms)  ROLLBACK
  NoMethodError: undefined method `to_datetime' for false:FalseClass
  from /home/cmhobbs/src/serve2perform/.gem/ruby/2.3.0/gems/activesupport-4.0.1/lib/active_support/core_ext/date_time/calculations.rb:161:in `&lt;=&gt;'
  </code></pre>
  
  <p><code>activesupport</code> 4.0.1 and <code>rals</code> 4.0.1 are installed.  I use chgems and I purged my <code>.gem/</code> directory and <code>Gemfile.lock</code> before bundling again.</p>
  
  <p>Here is a <a href="https://gist.github.com/cmhobbs/fd56a869088d722face3de4057fca696">Gist of the User model.</a></p>
  
  <p>And <a href="https://gist.github.com/cmhobbs/4f0cc2b9783b18542234d8c37c00ae39">here is all of the backtrace output</a> I could get from <code>pry</code>.</p>
  
  <p>Here is a <a href="https://gist.github.com/cmhobbs/a2a858eedb5db951068eb3107adea60b">link to the User table schema</a>.</p>