Tutorials







Rails 6.1 adds values_at attribute method for Active Record
Rails 6.1 simplifies retrieving values of attributes on the Active Record model instance by adding the values_at attribute method. This is similar to the values_at method in Hash and Array.Let’s check out an example of extracting values from a Use...

