Hi, I am novice to rails and recently I started learning rails. Still um in the zero point…As I started making a project in rails following the book “Agile Web Developement with rails” I cant con not configure my application to work with mysql. It was a project named depot in the following book. If anyone have this please help me to understand how they connect the mysql database with ruby and execute successfully scaffold command to create a model Product and and a controller Admin.
If I also created database, configured the database.yml file followed by the book, and then I went for scaffold command but It cannot create all the files as like as in the book. And If start the script/server I found an error. but there should be a form as it is illustrated in the book.