I am rather new to Ruby and have been following along with the book \"Ruby On Rails 3 Tutorial - Learn Ruby by Example - by Michael Hartl\". I am currently in Chapter 3 whic
Update the adapter in config/database.yml file to the database name being used by your application and restart your rails. This will resolve the issue.
For me it got reset to some other DB name, so it was giving error. After updating it to "sqlite3", it worked fine.