How to use protected_attributes in Rails 5
Did you know that the only thing stopping you from using protected_attributes in Rails 5 is the gem dependencies and a small patch to ActiveRecord::Core. The rails repo of protected_attributes is not longer supported and issues and PR’s are denied. I have created the continuation of that gem protected_attributes_continued which supports Rails 5! https://github.com/westonganger/protected_attributes_continued
Comments
Why would you want to do that?
Thank you! Really don’t want to rewrite that metric s#!t ton of code that uses protected_attributes here.
Post a comment