Closed olegykz closed 2 years ago
Defining method in rake task is a bad practice which leads to polluting of global scope.
We have a say method defined at https://github.com/voormedia/rails-erd/blob/master/lib/rails_erd/tasks.rake#L3 which would be available everywhere and may lead to mixing up with the say method of ActiveRecord migration.
say
Defining method in rake task is a bad practice which leads to polluting of global scope.
We have a
say
method defined at https://github.com/voormedia/rails-erd/blob/master/lib/rails_erd/tasks.rake#L3 which would be available everywhere and may lead to mixing up with thesay
method of ActiveRecord migration.