Hello RoR-ists. First, thanks for your help.
As a noob, I’ve been happily chugging along this well-known tutorial:
and I’m caught in a section where I enter
where I receive 2 errors. The 2 errors are in the format of
- PagesController GET ‘home’ should be successful
Failure/Error: Unable to find matching line from backtrace
Unknown database ‘xyz.rb’
where “home” is the name of the action/page. The xyz.rb is the arbitrary
database name I have listed under the test section in database.yml. I
have already raked the database.
I’m pretty sure my problem has to do with how I’m not going with the
sqlite3 in the tutorial but instead with mysql2. The resources I have
managed to find only give guidance on what to input for the development
section in database.yml, but not for the rest of the sections like
“test”. So, my question is, what exactly does this error mean, how to
fix it, and how should I configure my database.yml file? I tried
entering a file I see in my db folder like schema.rb, but this renders
the same error.
Thank you very much for your help.