title: SQlite error: "no such table "
body: <p>I am currently building a simple bank program in Ruby. I have set it up MVC style. I am getting the following error message. </p>
  
  <pre><code>/home/devil/.rvm/gems/ruby-2.2.1/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:91:in `initialize': no such table: managers (SQLite3::SQLException)
  from /home/devil/.rvm/gems/ruby-2.2.1/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:91:in `new'
  from /home/devil/.rvm/gems/ruby-2.2.1/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:91:in `prepare'
  from /home/devil/.rvm/gems/ruby-2.2.1/gems/sqlite3-1.3.10/lib/sqlite3/database.rb:134:in `execute'
  from /home/devil/Desktop/RubyBank-manager_model/model.rb:19:in `initialize_database'
  from /home/devil/Desktop/RubyBank-manager_model/model.rb:7:in `initialize'
  from controller.rb:8:in `new'
  from controller.rb:8:in `initialize'
  from controller.rb:124:in `new'
  from controller.rb:124:in `&lt;main&gt;'
  </code></pre>
  
  <p>Earlier in the day the program was working fine. I changed a local variable's name in a controller method and it started to throw me the above error.</p>
  
  <p>Things I have tried that have failed: </p>
  
  <ul>
  <li><p>Update my SQlite gem files to the latest version.</p></li>
  <li><p>Revert to previous commits from my GitHub that worked and tried to run the program.</p></li>
  <li><p>Revert ONLY the local variable method in question back to it's former functioning name.</p></li>
  <li><p>Googling to my heart's content.</p></li>
  </ul>
  
  <p>SEE MY GITHUB FOR PROGRAM CODE: <a href="https://github.com/erikasland/RubyBank/tree/add_manager" rel="nofollow">https://github.com/erikasland/RubyBank/tree/add_manager</a></p>