- 16 July 2017
- Ruby Design Ruby On Rails
- 7 Comments
In Rails 5 each migration class is inherited from ActiveRecord::Migration[5.0]
. It looks quite unusual to see that [5.0]
part at the end of the parent class. In this article I'll describe why we might need it and how it works.