Rails introduces disallowed deprecations in ActiveSupport
13-Feb-2020 1493
But, when developing new features after it, we might use end up using deprecated update_attributes again. We might ignore these deprecation warnings and on next Rails upgrade we will encounter new issues.To avoid the above case, Rails has introduced disallowed deprecations in ActiveSupport. Once we have removed deprecations from codebase, we configure these deprecations as disallowed. If a disallowed deprecation is used, it will be treated as a failure and raise an exception in development or test environment. In production, we log the deprecations as error.
Rails introduces disallowed deprecations in ActiveSupport #ruby #rubydeveloper #rubyonrails #Rails #introduces #disallowed #deprecations #ActiveSupport #activesupport https://rubyonrails.ba/link/rails-introduces-disallowed-deprecations-in-activesupport