Where can I find a list of data types that can be used in Ruby on Rails 4?
I keep learning about new ones and I’d love to have a list I could easily refer to.
Good Answer: 👌👌👌
Here are all the Rails 4 (ActiveRecord migration) datatypes:
These are the same as with Rails 3.
If you use PostgreSQL, you can also take advantage of these:
They are stored as strings if you run your app with a not-PostgreSQL database.
Read More: 👉 https://stackoverflow.com/questions/17918117/rails-4-list-of-available-datatypes