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