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

State already defined #360

Open
bidva opened this issue Oct 17, 2018 · 3 comments
Open

State already defined #360

bidva opened this issue Oct 17, 2018 · 3 comments

Comments

@bidva
Copy link

bidva commented Oct 17, 2018

I have a model which contains 3 different state columns (state, background_check_status,permit_status)
background_check_status,permit_status has defined the same states (Submitted, Rejected, Accepted, Pending) now on running my tests I get this warning

State "Submitted" for :chauffeur_permit_status is already defined in :background_check_status
State "Rejected" for :chauffeur_permit_status is already defined in :background_check_status
State "Accepted" for :chauffeur_permit_status is already defined in :background_check_status
State "Pending" for :chauffeur_permit_status is already defined in :background_check_status

how can I turn this off?

@bidva
Copy link
Author

bidva commented Oct 29, 2018

Sorry to bug @obrie, Do you have any Idea about this warning message?

@rocket-turtle
Copy link

Have you defined a namespace on your permit_status state_machine?

@bidva
Copy link
Author

bidva commented Nov 2, 2018

@rocket-turtle no, I didn't. Basically, in my model, I have a couple of fields have stated and all are in the same class model.

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

2 participants