delynn/userstamp — Issue #8: Warning of "class_inheritable_attribute is deprecated"
Author: aegoose
Created: 2011-12-18 05:41:14+00:00
State: open

I have upgraded rails 3.0 to rails 3.1.
When I use userstamp (gem "userstamp", "~> 2.0.1"), when use rails console, rails server, rake, etc, the deprecated error emerged:

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. (called from at /home/simon/rorworkspace/rails310/railsdemo/config/application.rb:13)
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. (called from at /home/simon/rorworkspace/rails310/railsdemo/config/application.rb:13)
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. (called from at /home/simon/rorworkspace/rails310/railsdemo/config/application.rb:13)
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. (called from at /home/simon/rorworkspace/rails310/railsdemo/config/application.rb:13)
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. (called from at /home/simon/rorworkspace/rails310/railsdemo/config/application.rb:13)
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. (called from at /home/simon/rorworkspace/rails310/railsdemo/config/application.rb:13)
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. (called from at /home/simon/rorworkspace/rails310/railsdemo/config/application.rb:13)
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. (called from at /home/simon/rorworkspace/rails310/railsdemo/config/application.rb:13)
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. (called from at /home/simon/rorworkspace/rails310/railsdemo/config/application.rb:13)
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. (called from at /home/simon/rorworkspace/rails310/railsdemo/config/application.rb:13)

When I discarded userstamp gem in Gemfile, the warning disappeared.

Everything works OK with the warning message, but it confuse me every time.

Is any new version have fixed this warning?