rhodes-framework-mobile-developmentThe ID of an object (record in a table) is an important piece of information. In most of the situations when we need an object from the database, we search for it using its ID. Moreover, the ID is usually part of the URL of a page.

Given its importance it is worh mentioning a big difference between Rhom (the object mapper in Rhodes) and ActiveRecord (in Rails): in Rhom, the object ID is enclosed in brackets {}. A typical Rhom object ID looks like this: {32034644033132}.

Why is it such a big number?

Continue reading