Maybe you want to read
Metaprogramming in Rails: The Internals
January 7, 2016
Performance Tweaks to make your Ruby code run faster
February 23, 2017
What is new in Rails 5 – Part 1
October 6, 2016