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

fix #88 (wrong number of arguments for transaction method)

This commit is contained in:
Thorsten Böttger 2013-08-29 21:41:45 +02:00
parent a2711e8533
commit d0284b9721
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,9 @@
# CHANGELOG
## 3.0.22 (not yet released)
* fixed [issue 88](https://github.com/aasm/aasm/issues/88): wrong number of arguments for transaction method
## 3.0.21
* support nested ActiveRecord transactions ([@ozeias](https://github.com/ozeias))

View file

@ -132,7 +132,7 @@ module AASM
end
def aasm_fire_event(name, options, *args)
transaction(:requires_new => true) do
self.class.transaction(:requires_new => true) do
super
end
end