title: (Rails) Is there a way to check the field's datatype?
body: <p>How do you check what the datatype is for something that was retrieved from the database?</p>
  
  <p>For example, if I have some instantiation of a model @model with a database field "title", I want to be able to code something like @model.title.type and have it return "String". Does Rails have any built-in functionality for this?</p>