virtus
virtus copied to clipboard
Fix rails 5 deprecation warning.
I added a fix for the rails 5 deprecation message as suggested in #362.
I'm not sure about this attributes.respond_to?(:permitted?) ? attributes.to_unsafe_h as it is specific to ActiveRecord. However at the moment I do have an alternative...
A virtus-rails gem which monkey-patches might be an option.