ActiveRecord::Base#pluck adds support for hash values in Rails 7.2
ActiveRecord pluck and pick can accept hash values for specifying columns from Rails 7.2Enhancing Rails Log Output with SQL Query Count
Rails adds SQL query counts to logs, improving developers ability to optimize application performance by providing more detailed data on database interactionsA Quick Guide to Ruby's Time and DateTime Classes
Let's examine when to use the Time class and when to use the DateTime classRails 8 adds Rubocop by default to new applications
All new applications using Rails 8 will have rubocop gem by default.Rails 8 Adds Rate Limiting to Action Controller via Kredis Limiter Type
Rails 8 provides in built method rate_limit to define rate limiting rules in the controller itself.Rails 8 adds allow_browser to set minimum browser version
Rails 8 allows us to set minimum browser version for compatibility.Rails 7.1.2 now ignores implicitly passed locals in templates that use strict local definitions
Templates that use strict locals can not accept anything other than those defined. This previously raised exceptions for implicitly passed locals that a user is unaware of.Rails 8 adds Brakeman by default to new applications
All new applications using Rails 8 will have Brakeman gem by default for static analysis for security vulnerabilities.Rails 7.1 Allows ActiveRecord::Relation#explain To Accept Options
Adding analyze and verbose as ActiveRecord::Relation#explain options give us deeper insight into query performance.Next.js vs. Remix - A Developer's Dilemma
Both Next.js and Remix are highly sought-after frameworks for constructing contemporary web applications using React, yet they diverge in their methodologies and principles. This article aims to assist developers in selecting the optimal framework by comparing various aspects such as routing, data flow, and data mutation strategies.
Newer