spikex / strongbox

Secures ActiveRecord attributes with public key encryption
http://stuff-things.net/2009/04/17/introducing-strongbox/
MIT License
398 stars 42 forks source link

Deprecation Warning under Rails 3.1.0.rc4 #15

Closed gdelfino closed 13 years ago

gdelfino commented 13 years ago

The encrypt_with_public_key declaration in the models using strongbox is producing the following deprecation warnings under Rails 3.1.0.rc4:

DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first.

What can be done about this?

gdelfino commented 13 years ago

In case it helps, I found this:

https://github.com/slbug/awesome_nested_set/commit/6c98d59faf3a9de4dc62ba2e34059189cd4799d4

spikex commented 13 years ago

Thanks, I just pushed up version 0.4.7 which addresses this deprecation.

gdelfino commented 13 years ago

Wow, that was fast. Thank you.

spikex commented 13 years ago

You're welcome!