Implementing inheritance with params: CreateProducts < ActiveRecord::Migration[5.0] - Ruby Blog

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 #activerecord::migration[5.0] #blog #params: https://rubyonrails.ba/single/implementing-inheritance-with-params-createproducts-activerecord-migration-5-0-ruby-blog

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles