Articles by Mayank Khanna

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.

Rails 7 allows constructors on has_one :through associations

Rails 7 allows build_association and create_association on has_one :through associations.

Rails 7 adds invert_where method to ActiveRecord

Rails 7 adds invert_where method that will invert all scope conditions.