Learning Ruby


Some seven years ago, I began life as a web programmer by learning PHP to build my first Wordpress blog. Over the past twenty four hours I’ve embarked on my first project using a “new-to-me” programming language called Ruby on Rails. While I’ve been working my way through Michael Hartl’s Ruby on Rails Tutorial Book an upcoming presentation to a potential partner led me to just jump in and start buidling a prototype. Here’s a couple of things I’ve learned:

  • Rails is very different from PHP, yet somehow more elegant
  • Scaffolds are a great way to cheat as a programmer, but messy to clean up if you do something wrong
  • Don’t use a plural name for a model (i.e. “news”) because it will cause you a world of pain
  • Google as always is your friend but be sure to add the phrase “Rails 3” to your searches
    • That said, there are answers to your questions out there, just be patient and try to find answers on stackoverflow. They truly are the best out there.

Anyways, I’ve been at this too long. Time to go home and get some sleep. More soon!


comments powered by Disqus

Date

Thursday, February 2, 2012

Estimated Reading Time

less than a minute

Categories

Previous Article

Next Article