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
Written by Cassio Cabral
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Related Tags
#rails
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#