Avoid method call unless transaction state is finalized
Avoid method call unless transaction state is finalized

Co-Authored-By: Ryuta Kamizono <bca6f4261a19f75277fe4325de3272d15492eb61@gmail.com>
tgxworld/rails,kmcphillips/rails,tjschuck/rails,kmcphillips/rails,EmmaB/rails-1,rails/rails,Erol/rails,EmmaB/rails-1,yalab/rails,yhirano55/rails,yahonda/rails,schuetzm/rails,schuetzm/rails,eileencodes/rails,palkan/rails,mechanicles/rails,yahonda/rails,eileencodes/rails,vipulnsward/rails,Vasfed/rails,schuetzm/rails,MSP-Greg/rails,joonyou/rails,Stellenticket/rails,georgeclaghorn/rails,kddeisz/rails,lcreid/rails,lcreid/rails,Vasfed/rails,yhirano55/rails,tjschuck/rails,yhirano55/rails,yhirano55/rails,iainbeeston/rails,tjschuck/rails,yalab/rails,mechanicles/rails,bogdanvlviv/rails,Envek/rails,Edouard-chin/rails,vipulnsward/rails,schuetzm/rails,rafaelfranca/omg-rails,lcreid/rails,Edouard-chin/rails,esparta/rails,starknx/rails,kddeisz/rails,betesh/rails,yalab/rails,yawboakye/rails,Vasfed/rails,rails/rails,eileencodes/rails,BlakeWilliams/rails,rails/rails,georgeclaghorn/rails,Envek/rails,tgxworld/rails,starknx/rails,repinel/rails,EmmaB/rails-1,esparta/rails,yawboakye/rails,iainbeeston/rails,palkan/rails,mechanicles/rails,tgxworld/rails,palkan/rails,Edouard-chin/rails,repinel/rails,vipulnsward/rails,rafaelfranca/omg-rails,kmcphillips/rails,Stellenticket/rails,betesh/rails,yawboakye/rails,joonyou/rails,repinel/rails,Erol/rails,BlakeWilliams/rails,mechanicles/rails,Envek/rails,Envek/rails,Erol/rails,tgxworld/rails,kddeisz/rails,yahonda/rails,vipulnsward/rails,iainbeeston/rails,joonyou/rails,kddeisz/rails,yahonda/rails,Edouard-chin/rails,georgeclaghorn/rails,MSP-Greg/rails,BlakeWilliams/rails,iainbeeston/rails,bogdanvlviv/rails,palkan/rails,bogdanvlviv/rails,BlakeWilliams/rails,georgeclaghorn/rails,Erol/rails,kmcphillips/rails,esparta/rails,bogdanvlviv/rails,starknx/rails,Vasfed/rails,Stellenticket/rails,eileencodes/rails,rafaelfranca/omg-rails,lcreid/rails,joonyou/rails,esparta/rails,MSP-Greg/rails,betesh/rails,MSP-Greg/rails,rails/rails,betesh/rails,tjschuck/rails,yalab/rails,repinel/rails,Stellenticket/rails,yawboakye/rails