aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations/length.rb
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2014-07-31 16:44:55 -0400
committerArthur Neves <arthurnn@gmail.com>2014-08-05 11:13:26 -0400
commit8298d3adb72eb17186dc0b155afec308071a3900 (patch)
tree36d36352a1f3179e6bcd812bc2424ea8f98a2fa9 /activemodel/lib/active_model/validations/length.rb
parentc8317cd1d42c21fe33d38074841a9ffa28c7ed9b (diff)
downloadrails-8298d3adb72eb17186dc0b155afec308071a3900.tar.gz
rails-8298d3adb72eb17186dc0b155afec308071a3900.tar.bz2
rails-8298d3adb72eb17186dc0b155afec308071a3900.zip
Cleanup Transaction inheritance.
Transaction class doesnt need to encapsulate the transaction state using inheritance. This removes all Transaction subclasses, and let the Transaction object controls different actions based on its own state. Basically the only actions would behave differently are `being`,`commit`,`rollback` as they could act in a savepoint or in a real transaction.
Diffstat (limited to 'activemodel/lib/active_model/validations/length.rb')
0 files changed, 0 insertions, 0 deletions