Rails group records by dates of created_at retrieve hash with date string as the key

后端 未结 0 1062
情歌与酒
情歌与酒 2020-12-21 01:31

Im trying to retrieve records from a model and group them by dates via the created_at field.

My problem is that I am unsure how to get a hash with a date string as th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题