I know that Rails datatypes can be found here:
Rails 4: List of available datatypes
or here:
http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/TableDefinition.html#method-i-column
but what I can't find is a clear definition of each, and the differences between, say, a float versus a decimal, or a string versus text.
Where can I find in-depth definitions of the datatypes?
Here's a good set of definitions (from https://stackoverflow.com/a/15316528/2128691)
Rails is built on the Ruby language, so try searching for Ruby datatypes instead!
http://www.rubybacon.com/ruby-data-types/ (link no longer working)
Updated link
http://ruby-for-beginners.rubymonstas.org/built_in_classes.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With