remove rails dependency cattr_accessor