Well, I have officially started on my Ruby On Rails (RoR) learning experience. I downloaded a free RoR PDF from sitepoint and am working my way through it.
So far, I have set up MySql (after going through too much figuring out that the password for root was somehow set to sa), installed rails, and I have now done the following stuff in the ruby console:
- Create a Stories table in MySql (used the mysql console for this)
- Created a Story class definition in ruby, subclassing ActiveRecord::Base
- Put the following line of code:
story = Story.new
story.save
and, voila, it showed up in the database. Sweet! I'm going to try to keep blogging my thoughts as I go through it.