Skip to content

Instantly share code, notes, and snippets.

@LunaCodeGirl
Created December 11, 2013 01:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LunaCodeGirl/7903402 to your computer and use it in GitHub Desktop.
Save LunaCodeGirl/7903402 to your computer and use it in GitHub Desktop.
This shows all of the datatypes that the rails models can use.
Here are all the Rails 4 (ActiveRecord migration) datatypes:
• :binary
• :boolean
• :date
• :datetime
• :decimal
• :float
• :integer
• :primary_key
• :references
• :string
• :text
• :time
• :timestamp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment