Implementing inheritance with params: CreateProducts < ActiveRecord::Migration[5.0] - Ruby Blog
23-Jul-2017 3057
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.
Implementing inheritance with params: CreateProducts < ActiveRecord::Migration[5.0] - Ruby Blog #ruby #rubydeveloper #rubyonrails #Implementing #inheritance #params: #CreateProducts #ActiveRecord::Migration[5.0] #activerecord::migration[5.0] #blog #params: https://rubyonrails.ba/link/implementing-inheritance-with-params-createproducts-activerecord-migration-5-0-ruby-blog