Tutorial – Getting Started with Rails & Databasedotcom Gem

January 28, 2012 Appirio

It the new year again and time for resolutions. I made a resolution about a year ago to learn ruby. If you are looking for something to learn this year I would recommend ruby and here’s why:

  • Salesforce.com bought Heroku for $220M
  • Salesforce.com has been pushing “Open. Social. Mobile” for quite some time.
  • Ruby is great for creating social and mobile apps with open source technologies.

Do you see a correlation here? There are big things ahead for Force.com developers using Heroku. Eventhough Heroku is a polyglot platform, it shines with ruby. If you have the time, add ruby to your toolbox.

I presented this topic today at our Appirio Continuing Education webinar and thought it might come in handy for others trying to learn ruby. In the video I use the Databasedotcom gem to build a small app that displays a list of accounts, the details for a selected account and then queries for accounts by keyword. I reference some links to help you get started with ruby and rails and I’ve added them after the video.

You can find the source code here.

Links Referenced in the Video

Railsnstaller (Windows)
Homebrew
Ruby Version Manager (RVM)

Rails Guides
Railscasts
Rails for Zombies
Code School
Try Ruby
Ruby on Rails Tutorial
Ruby on Rails Documentation

Databasedotcom gem
Building and Deploying Great Applications with Salesforce, Ruby, and Heroku (Dreamforce)

Previous Article
Salesforce and Decimal Places
Salesforce and Decimal Places

by Glenn Weinstein, Appirio@GlennWeinsteinWe learned recently that Salesforce enforces decimal points speci...

Next Article
Make Any Salesforce sObject REST-enabled

One of our #awesome guys, George Acker, created this nifty process to REST-enable any sObject in salesforce...