It just figures that after a couple days reading through my Ruby on Rails book, I finally get to sit down and start building the Digg-like Shovell project from the book, only to get error after error when trying to build my domain models and .yml files. So I switched to a couple web tutorials for beginners only to run into the same error. After Googling the exact error, I found others who recently encountered this same error, which turns out to be a result of trying out Rails v.1x tutorials on newer v.2.0 installations (version 2.0 was released December 2007). Version 2.0 handles scaffolding differently.
One of these frustrated postings refers 2.0 users to an excellent blog tutorial that outlines the scaffolding differences between the versions. After reading the 2 posts published (there are more to come), I was able to successfully scaffold and build and initial small Rails project framework. Now I’ll try applying these 2.0 changes to the Shovell project example from my book.
What do I have in mind for Rails? Once I work through a couple basic tutorial projects, I will probably attempt to migrate my very-outdated recipes database (MySQL with a PHP UI) to Rails. Why? Because I can already tell how much faster and easier it is to build database relationships and queries using a framework instead of hardcoding everything myself in PHP. And because I’ve never had the time to finish building out the recipes categories structure/queries or the user-login authentication