Is there any way to use enum with Dynamoid?

后端 未结 0 1145
心在旅途
心在旅途 2020-12-24 03:38

Can we use enum with dynamoid, currently i am getting error

enum status: %w(inactive active), default: \'inactive\'

undefined method

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