Deprecating code in a Rails application | Everyday Rails

When upgrading a Rails application to a newer version of the framework, you’ll often see deprecation warnings pop up in your application logs and test suite output. Deprecation warnings give you time to fix an issue before it becomes an outright error. Good deprecation warnings also give you a hint on where and how to address them.Rails makes it pretty simple to add good deprecation warnings to your actual application code, too. Let’s first look at how to do this, then talk for a moment about when it might be a good idea.
Deprecating code in a Rails application | Everyday Rails #ruby #rubydeveloper #rubyonrails #application #code https://rubyonrails.ba/single/deprecating-code-in-a-rails-application-everyday-rails

Nezir Zahirovic

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

related articles