Ruby Rails Temukan Jenis Bidang Data

@data.type_for_attribute('id').type
=> :integer
@data.type_for_attribute('address').type
=> :string
Ukulily