Last Updated: February 25, 2016
·
404
· cassioscabral

Possible table types used on rails generate model Table column:type

When using rails generators or even setting your column type on migrations. You can use those types. I like to have them on a file just for easy access.

:string, :text, :integer, :float, :decimal, :datetime, :timestamp, :time, :date, :binary, :boolean, :references