Created by: excid3
This adds support for the Rails 5 attributes API allowing you to add virtual attributes with types to ActiveModel objects.
I ran into the error in #1100 (closed) because of an Rails 5 attribute I had on my model so I wrote this fix for that. It might also solve the issues the other people were experiencing, I'm not sure.