Articles by Manmeet Singh
Jul 28, 2021
Rails 7 allows setting cache expiry, as an absolute timestamp
With the introduction of expires_at to Rails Cache it is now possible to set absolute timestamps for cache expiry.
Jul 13, 2021
Rails 7 MySQL adapter improves the security of untyped bound values
MySQL adapter in Rails 7 casts numbers and booleans to string to avoid security vulnerabilities.
Jul 7, 2021
Ruby 3.1 introduces pattern matching pin operator against expression
Ruby 3.1 adds support for the expression and range when using the pattern matching pin operator.
Jun 23, 2021
Rails 7 allows passing raw SQL as `on_duplicate` value to `#upsert_all`
Rails 7 allow passing raw SQL statements to `on_duplicate` and `returning` option as value to ActiveRecord `#upsert_all` method.