Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamically load states? #8

Closed
previousnext opened this issue Aug 27, 2009 · 1 comment
Closed

Dynamically load states? #8

previousnext opened this issue Aug 27, 2009 · 1 comment

Comments

@previousnext
Copy link

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

@alto
Copy link
Member

alto commented Mar 14, 2012

Hi Kim,

Found your pretty old issue just now. Can I assume your request is not relevant anymore and close the ticket?

Regards,
Thorsten

@alto alto closed this as completed Mar 14, 2012
alto added a commit that referenced this issue Jan 18, 2013
Added autocreation of state scopes for Mongoid, including RSpec tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant