Set And Restore Public Attributes Around a Block Using Object#with
We can use Object#with method as shorthand for the common begin/ensure pattern to save the value of an attribute, setting a new value, and then restoring the previous value.React state management - useReducer vs Redux
This blog explores useReducer vs Redux, delving into their definitions, use cases, code samples and when to choose each for efficient state management.Open Ranges Are Now Supported By The Object#in? Method In Rails
We can use Object#in? method to check open date ranges i.e. beginless and endless ranges.Reduce load times of Rails applications using CloudFront CDN
Delivering static assets and JavaScript files with CDN can significantly improve the performance of our Rails application, resulting in faster load times and a better user experience.When to extract code to React custom hooks?
React custom hooks help us to build reusable logic, and make the code more readable. In this blog, we will talk about when and when not to use react custom hooks.Rails adds the ability to ignore tables in SQL schema dumps via regular expressions
Ignore tables by configuring regular expressions on ActiveRecord::SchemaDumper.Rails now supports routes prefixed with word cable
Rails improved its support for routes which helps us to navigate to routes prefixed with word cable which were throwing 404 errors before.