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

Ignore namespace #15

Closed
hpcsc opened this issue Nov 30, 2016 · 2 comments · May be fixed by #35
Closed

Ignore namespace #15

hpcsc opened this issue Nov 30, 2016 · 2 comments · May be fixed by #35

Comments

@hpcsc
Copy link

hpcsc commented Nov 30, 2016

Hi,

Is it possible to not log into namespace column if state machine doesn't use it?
My state machine doesn't use namespace, and I already removed the namespace column from StateTransition class and schema, however when logging's saved, it still looks for namespace column and have this error:

ActiveRecord::UnknownAttributeError: unknown attribute 'namespace'
@rosskevin
Copy link
Member

We are open to a PR supplied with an additional test.

@rosskevin
Copy link
Member

If you are going to PR, we can reopen this.

breckenedge added a commit to breckenedge/state_machines-audit_trail that referenced this issue Oct 24, 2019
Fixes state-machines#15.

Don't attempt to save to the namespace column on the transition table if
it doesn't exist.
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

Successfully merging a pull request may close this issue.

2 participants