Rails 4: List of available datatypes?

Where can I find a list of data types that can be used in Ruby on Rails 4? Such as text string integer float ...

How do I get the name of a Ruby class??

How can I get the class name from an ActiveRecord object? I have: result = User.find(1) I tried: result.class #...