Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby rails find data field type

@data.type_for_attribute('id').type
=> :integer
@data.type_for_attribute('address').type
=> :string
 
PREVIOUS NEXT
Tagged: #ruby #rails #find #data #field #type
ADD COMMENT
Topic
Name
7+3 =