Tipos de datos que puedes utilizar en scaffold de Ruby on Rails.

Railsdb2mysqlopenbaseOracle
:binaryblob(32678)blobobjectblob
:booleandecimal(1)tinyint(1)booleannumber(10)
:datedatedatedatedate
:datetimetimestampdatetimedatetimedate
:decimaldecimaldecimaldecimaldecimal
:floatfloatfloatfloatnumber
:integerintint(11)integernumber(38)
:stringvarchar(255)varchar(255)char(4096)varchar2(255)
:textclob(32768)texttextclob
:timetimetimetimedate
:timestamptimestampdatetimetimestampdate
 
Rails postgresql sqlite sqlserver Sybase
:binarybyteablobimageimage
:booleanbooleanbooleanbitbit
:datedatedatedatetimedatetime
:datetimetimestampdatetimedatetimedatetime
:decimaldecimaldecimaldecimaldecimal
:floatfloatfloatfloat(8)float(8)
:integerintegerintegerintint
:string*varchar(255)varchar(255)varchar(255)
:texttexttexttexttext
:timetimedatetimedatetimetime
:timestamptimestampdatetimedatetimetimestamp