Mayank Khanna

Mayank Khanna

I'm a React and RoR enthusiast with over two years of experience creating innovative software solutions that improve business productivity. I work well in teams and am always up for challenging projects. Born and raised in Pune, I enjoy cooking, painting and travelling in my free time.
authorImg Mayank Khanna

Rails 7 adds accepts_nested_attributes_for support for delegated_type

With Rails 7, accepts_nested_attributes_for can be used for delegated_type
authorImg 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.
authorImg Mayank Khanna

Rails 7 allows constructors on has_one :through associations

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

Rails 7 adds invert_where method to ActiveRecord

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