Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby rails activerecord to array hash

tasks_records = TaskStoreStatus.all
tasks_records.to_a.map(&:serializable_hash)
 
PREVIOUS NEXT
Tagged: #ruby #rails #activerecord #array #hash
ADD COMMENT
Topic
Name
6+1 =