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...




Introduction to Rails testing with RSpec and Capybara
I didn’t understand the importance of testing and used to think writing test was an extra effort (my app already work well when I wrote it, why should I spend extra time to write test for it?), boy I was so wrong 😅.Now I work in an enterprise hand...