Update ruby version to 2.1.2
Delete unused attr_accessor