just a comment

This commit is contained in:
Thorsten Böttger 2013-04-28 15:16:15 +02:00
parent bbafd22c67
commit 2e43dc5817
1 changed files with 1 additions and 0 deletions

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)