Rails

Rails 7.1 reselect Accepts Hash Values

Use of hash syntax for specifying columns and aliases with the ActiveRecord::QueryMethods#reselect method makes it easier for querying.

Rails Dual Database Setup for Performance

Implement a Replica Database solution to overcome system strain with a dual DB approach for better performance.

Rails 7.1 Default Dockerfile for Production

Rails 7.1 generates Dockerfile, .dockerignore, and docker-entrypoint for easy production deployment.

Rails 7.1 perform_all_later for Jobs

perform_all_later allows us to enqueue multiple jobs that belong to different classes simultaneously within ActiveJob.

Rails 7.1 Async Query Support in ActiveRecord

With the Active Record API for general async queries we can efficiently query not so fast queries asynchronously to improve the performance.

Integrate Google Calendar API into rails

Read about how we can integrate Google Calendar API.

Rails 7.1 MessagePack Serializer Support

Rails 7.1 adds native MessagePack support for MessageEncryptor and MessageVerifier, enabling smaller payloads and faster serialization.

Rails 7.1 generates_token_for Method

Generate tokens for specific purposes and verify their authenticity.

Rails 7.1 ActiveRecord Normalization

Rails 7.1 lets you define custom normalization rules for model attributes with the normalizes method.

Limiting Maximum Index Name Length in Ruby

Rails 7.1 defined maximum limit of 62 bytes for auto-generated index names.