title: Why won't my Ruby app save instances to the database?
body: <p>I have a Sinatra application using ActiveRecord in progress. Whenever I run User.create an instance is created but no id is saved. I've tried <code>rake db:reset</code> but nothing changes. Please help me solve this!</p>
  <p>An example in Pry:</p>
  <pre><code> pry(#&lt;AlbumController&gt;)&gt; User.create
  =&gt; #&lt;User:0x00007fffea2bed18 id: nil, name: nil, username: nil, email: nil, password_digest: nil&gt;
  </code></pre>
  <p>To clarify, this along with numerous other tables are migrated and still have problems, but if I can fix User#create then I'll probably be able to fix all of the others. Also, everything worked out smoothly until I checked this morning. I don't know if some Ruby or Visual Studio update messed it up or not so if anyone knows something about that please let me know.</p>
  <p>Also, for further details you can check out the code directly through my <a href="https://github.com/micahabanschick/Acoustic_Karma" rel="nofollow noreferrer">Github Repository</a></p>