You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an app that uses a form-wizard that allows you to go forwards/backawards to form pages. The logic to keep up with the current page is a bit clunky and it sounds like aasm might be a good improvement. I would use a form page as a 'state', then use aasm to track what the next/previous pages are.
However, admin users can create form pages dynamically and these get stored in the database via ActiveRecord. How would you deal with this in aasm, where states are typically static?
Kim
The text was updated successfully, but these errors were encountered:
Hi,
I have an app that uses a form-wizard that allows you to go forwards/backawards to form pages. The logic to keep up with the current page is a bit clunky and it sounds like aasm might be a good improvement. I would use a form page as a 'state', then use aasm to track what the next/previous pages are.
However, admin users can create form pages dynamically and these get stored in the database via ActiveRecord. How would you deal with this in aasm, where states are typically static?
Kim
The text was updated successfully, but these errors were encountered: