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 warning 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.