Fix namespaced scopes by kayqueteixeira · Pull Request #771 · aasm/aasm · GitHub
Skip to content

Fix namespaced scopes#771

Open
kayqueteixeira wants to merge 1 commit into
aasm:masterfrom
kayqueteixeira:bugfix/set-right-namespaced-scope-condition
Open

Fix namespaced scopes#771
kayqueteixeira wants to merge 1 commit into
aasm:masterfrom
kayqueteixeira:bugfix/set-right-namespaced-scope-condition

Conversation

@kayqueteixeira

Copy link
Copy Markdown

Scopes for namespaced machines were not working properly. The value used in the condition was not actually the state, but rather the scope's name. Example:

MultipleNamespaced.car_unsold # queried "state: :car_unsold" instead of "state: :unsold"

@qlty-cloud-legacy

Copy link
Copy Markdown

@alto alto self-assigned this Jun 20, 2025
@alto alto added the bug label Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants