What part of the code below causes the method #decrypt_data to be run? class MyModel < ApplicationRecord after_find :decrypt_data end
1.MyModel.first.update(field: ‘example’)
2.MyModel.where(id: 42)
3.MyModel.first.destroy
4. MyModel.new(field: ‘new instance’)
Answer:3
Posted Date:-2022-09-17 04:10:29