Tag Archives: Database

Setting up your Ruby on Rails environment for Force.com

Drawing1

Like many of you, I was excited about the announcement regarding Heroku at Dreamforce.  I wanted to learn more about Ruby and Heroku and what better way to learn a new programming language than to write and deploy an application.  Though I found the getting started article useful, it assumes you have a working environment.  This article shows you how you can easily setup a working environment on a windows machine. 

The Big Picture

Before we get started, it is useful to understand how the toolkit fits into the overall Ruby environment. Ruby is a programming language  and Rails is a web application framework.  The Force.com… Continue┬áreading

Navigating Relationships…..

M1

Navigating relationships in life may be hard but doesn't have to between custom sObjects :). The SOQL documentation  has several examples with standard sObjects. Custom sObjects have some differences – mostly syntactical.  We will illustrate that using a few sample SOQL queries.

We will use the example from the Developer Guide The object model is reproduced below (click on the pictures to enlarge them).

When you insert a relationship field on an sObject (either a lookup or master-detail) to another object, the other object is called the parent sObject.  So Location is the parent of Position in the object model shown.  The… Continue┬áreading