Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [4] pry(main)> ActiveRecord::Base.transaction do
- [4] pry(main)* User.first.update!(email: 'a@b.com')
- [4] pry(main)* ActiveRecord::Base.transaction do
- [4] pry(main)* User.first.update!(email: 'notvalidemail')
- [4] pry(main)* end
- [4] pry(main)* end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement