# Model attribute types

**URL:** <https://www.ruby-forum.com/t/model-attribute-types/144407>\
**Category:** Rails\
**Created:** [July 29, 2008, 12:39pm UTC](https://www.ruby-forum.com/t/model-attribute-types/144407 "2008-07-29T12:39:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ibon\_Castilla](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/5daacb/32.png) [@Ibon\_Castilla](https://www.ruby-forum.com/u/Ibon_Castilla)\
**Post date:** [July 29, 2008, 12:39pm UTC](https://www.ruby-forum.com/t/model-attribute-types/144407/1 "2008-07-29T12:39:55Z")

</div>

Hi there:

I was just looking for documentation (official if possible) about  
attribute types when generating a model, but I haven’t found it :S  
May anyone tell me in what place of the documentation can I found info  
about this point?.

Cheers, Ibon.

–  
Visitame en [http://sinanimodelucro.net](http://sinanimodelucro.net)  
Usa GNU/Linux, tus úlceras te lo agradecerán.

## Realizado con Software Libre.

## GPG public key at [http://sinanimodelucro.net/txapelgorri.asc](http://sinanimodelucro.net/txapelgorri.asc) Finderprint: 9402 CEBF 0274 F213 8B88 1209 7B2D 70B3 843E F99C

---

<div class="post-metadata">

**Author:** ![Ibon\_Castilla](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/5daacb/32.png) [@Ibon\_Castilla](https://www.ruby-forum.com/u/Ibon_Castilla)\
**Post date:** [July 29, 2008, 8:28pm UTC](https://www.ruby-forum.com/t/model-attribute-types/144407/2 "2008-07-29T20:28:55Z")

</div>

> I was just looking for documentation (official if possible) about  
> attribute types when generating a model, but I haven’t found it :S  
> May anyone tell me in what place of the documentation can I found info  
> about this point?.

Do you mean attribute ↔ database table types? If so…

> **[ActiveRecord::ConnectionAdapters::TableDefinition](https://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/TableDefinition.html#M001150)**
>
> Represents the schema of an SQL table in an abstract way. This class provides methods for manipulating the schema representation.

-philip

---

<div class="post-metadata">

**Author:** ![Ibon\_Castilla](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/5daacb/32.png) [@Ibon\_Castilla](https://www.ruby-forum.com/u/Ibon_Castilla)\
**Post date:** [July 29, 2008, 9:28pm UTC](https://www.ruby-forum.com/t/model-attribute-types/144407/3 "2008-07-29T21:28:07Z")

</div>

Hi Philip:

Yeah, exactly!, this was the info I was looking for.

Thanks a lot, Ibon.

2008/7/29 Philip H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> -philip
> 
> >

–

–  
Visitame en [http://sinanimodelucro.net](http://sinanimodelucro.net)  
Usa GNU/Linux, tus úlceras te lo agradecerán.

## Realizado con Software Libre.

## GPG public key at [http://sinanimodelucro.net/txapelgorri.asc](http://sinanimodelucro.net/txapelgorri.asc) Finderprint: 9402 CEBF 0274 F213 8B88 1209 7B2D 70B3 843E F99C
