mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
Merge branch 'veebox/master'
This commit is contained in:
commit
973633ce9e
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ module AASM
|
|||
old_value = read_attribute(self.class.aasm_column)
|
||||
write_attribute(self.class.aasm_column, state.to_s)
|
||||
|
||||
unless self.save
|
||||
unless self.save(false)
|
||||
write_attribute(self.class.aasm_column, old_value)
|
||||
return false
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue