New Ruby News digest of the most interesting posts for January so you don’t miss anything:
In this post the author shows how Rails 7.1 supports infinite ranges for Active Record Validators.
Signed URLs can be a very useful solution in many cases when you need to provide limited access to some resources or actions. In this post the author will focus on when and how to use them in Ruby, with Rails, or by providing a custom implementation.
How to take advantage of shorthand hash syntax while changing from instance variables to local variables in controllers and views.
In this post the author shows you 10 nice Ruby features to improve your code.
A problem of uniqueness validation in ActiveRecord. The author shares how to deal with the problem and ensure it does not come back.
Rails 7.1 is getting an official Dockerfile, which should make it easier to deploy Rails applications to production environments that support Docker. Think of it as a pre-configured Linux box that will work for most Rails applications.
Final Words
Follow the latest news and events on Ruby News and our social media to stay in touch!