I made it one of my resolutions to learn Ruby this year, so I took a bit of time yesterday and today to try and get something working on my work laptop running Windows XP. I’d used the one-click Windows installer for Ruby a week before, so I was able to use RubyGems to install Rails. I put the latest version of MySQL on the laptop as well, since the tutorial I’m following uses it.
Instead of building the cookbook application the tutorial describes, I’m trying to build an app that serves a database-driven RSS feed. My reason is that we’ve done this for a client project with some old ASP code and I wanted to compare architectures and level of effort. So far, I like the way Ruby on Rails works. You can create an empty web app just by typing ‘rails
Development Ruby on Rails seems to go fastest if you follow their naming conventions for code, and the table names in MySQL. When the model name is singular form of the database table name in plural form (recipe–>recipes or podcast–>podcasts), using “scaffold :
I’ll probably go back through the cookbook example and follow it step-for-step before going back to the podcast example, just so I have something stock that’s working. The other thing I plan to do is to replicate my work on the Mac mini I have at home.
I too am going to rededicate learning Rails – just so I can say I did it. I have more than a couple projects that I want to complete and if I can get one of them sketched out successfully, I might just finish it up in rails.
I’ll be talking about it more on my site, but I just got my laptop set back up with Linux again (Mandriva 2006) and will be developing there. My last attempts with Ruby on Windows weren’t very successful (see my blog) and I figure I’d give it a shot in a more “native” environment.
I don’t believe the hype, but we’ll see. Its going to have to be so exceptionally good for it to beat out my current rapid development love: Gentle.Net and MyGeneration.