1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00

just a comment

This commit is contained in:
Thorsten Böttger 2013-04-28 15:16:15 +02:00
parent bbafd22c67
commit 2e43dc5817

View file

@ -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)