Articles by Mayank Khanna
Jun 9, 2021
Rails 7 adds encryption to ActiveRecord
Rails 7 supports application-level encryption. We can declare which attributes should be encrypted and, ActiveRecord will encrypt and decrypt when necessary.
Apr 27, 2021
Rails 7 allows constructors on has_one :through associations
Rails 7 allows build_association and create_association on has_one :through associations.
Apr 21, 2021
Rails 7 adds invert_where method to ActiveRecord
Rails 7 adds invert_where method that will invert all scope conditions.