How to convert string to dig readable format rails?

前端 未结 0 1707
伪装坚强ぢ
伪装坚强ぢ 2020-12-01 15:56

I using ruby on rails. I have a string that needs to converted to dig readable format

"search.user[0].user_id" convert this to [:search, :user,0, :u         


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