导轨测试正在对已经更新为最新版本的宝石(attr_encrypted)上抛出折衷警告。它读取:
DEPRECATION WARNING: <custom_attribute_name> is not an attribute known
to Active Record. This behavior is deprecated and will be removed in
the next version of Rails. If you'd like <custom_attribute_name> to be
managed by Active Record, add attribute :<custom_attribute_name> to
your class.
不确定要我要做什么...必须使用attr_encrypted声明。
弃用警告是attr_encrypted Gem需要修复的东西,但是通过添加警告中提到的属性调用似乎有解决方法。
请参阅https://github.com/attr-encrypted/attr_encrypted/issues/260