skozlov/netzke-core — pull request #33 by diec123 (2012-04-10 17:34:06+00:00)
Title: use class_attribute instead of redefining read_inheritable_attribute and write_inheritable_attribute

There is no need to redefine the methods read_inheritable_attribute and write_inheritable_attribute to stay rails 3.1 compatible.

class_attribute is available since rails 3.0, and it seems a better solution than redefining methods no longer used in rails.

Also, the code is a little bit more clear and concise using class_attribute