rails3.2: replace inheritable_attribute methods