mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
just a comment
This commit is contained in:
parent
bbafd22c67
commit
2e43dc5817
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ module AASM
|
|||
end # Persistence
|
||||
|
||||
class Base
|
||||
# make sure to create a (named) scope for each state
|
||||
def state_with_scope(name, *args)
|
||||
state_without_scope(name, *args)
|
||||
unless @clazz.respond_to?(name)
|
||||
|
|
Loading…
Reference in a new issue