1

I was looking to implement this wonderful gem called aasm to my existing project. In my current project, the status column on which I am trying to add aasm, the values are saved as a capitalized string like 'Draft', 'Published' etc

How do I define my state in aasm so, that when an event to change the state is called, the value is saved correctly in capitalized form?

Thanks for the help.

Abhishek Jain
  • 238
  • 2
  • 5

0 Answers0