Rails iterate on a collection and return it

后端 未结 0 1896
情深已故
情深已故 2021-02-03 23:37

I want to do a map on a rails collection but I need the result to be an active record collection instead of array. Currently I am doing the following but this returns an array.<

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