app/models/order.rb
# In older versions of AASM, a guard condition failing would not raise an error.
# This is to maintain the previous API of simply returning false
In older versions of AASM, a guard condition failing would not raise an error.
This is to maintain the previous API of simply returning false
In older versions of AASM a guard condition failing would not raise an error . This is to maintain the previous API of simply returning false
def validate_order!
    _validate_order!
  rescue AASM::InvalidTransition => e
    false
  end
def validate_order! _validate_order! rescue AASM :: InvalidTransition => e false end
In older versions of AASM, a guard condition failing would not raise an error.
In older versions of AASM a guard condition failing would not raise an error .