Report abuse


			
--- lib/acts_as_state_machine.rb        2007-09-26 16:02:54.000000000 -0700
+++ lib/acts_as_state_machine copy.rb   2007-09-26 16:00:55.000000000 -0700
@@ -42,7 +42,6 @@

           def initialize(opts)
             @from, @to, @guard = opts[:from], opts[:to], opts[:guard]
-            raise "Callbacks :enter, :after and :exit should be called from states, not transitions." if opts[:enter] || opts[:after] || opts[:exit]
             @opts = opts
           end