Rails introduces disallowed deprecations in ActiveSupport

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 #activesupport https://rubyonrails.ba/single/rails-introduces-disallowed-deprecations-in-activesupport

Nezir Zahirovic

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

related articles