I'm quite new at rails and ruby so I'm not even sure if this is necessary, but I'm trying to add attributes to my model that are of one of my homemade classes. In the tutorials I've read, the attributes are just listed after attr_accessible and the types of those attributes are not defined. My question is: how do I define the type/class of an attribute or do I even have to?