You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rails upgraded already does this kind of "mirgation" with strong params, it would be nice If we can add this other "migration" for going from Rails 4.2 Rails 5-0
class ApplicationRecord < ActiveRecord::Base
self.abstract_class = true
end
And then update all of your models to inherit from ApplicationRecord instead of ActiveRecord::Base. The only class that inherits from ActiveRecord::Base will be ApplicationRecord.
The text was updated successfully, but these errors were encountered:
The rails upgraded already does this kind of "mirgation" with strong params, it would be nice If we can add this other "migration" for going from
Rails 4.2
Rails5-0
And then update all of your models to inherit from ApplicationRecord instead of ActiveRecord::Base. The only class that inherits from ActiveRecord::Base will be ApplicationRecord.
The text was updated successfully, but these errors were encountered: