commit scope for ActiveRecord