From 523693574d55353caa2f57dcba2f13e9e8a83688 Mon Sep 17 00:00:00 2001 From: Felipe Renan Date: Tue, 27 Feb 2018 19:47:08 -0300 Subject: [PATCH] Update CHANGELOG about 3.5.1 updates --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 615a49a1..f71467f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ * Exclude hidden field when unchecked_value: false. [@fschwahn](https://github.com/fschwahn) * Add frozen_string_literal magic comment to several files. [@oniofchaos](https://github.com/oniofchaos) * Try convert @object to model in case we got decorated object [@timurvafin](https://github.com/timurvafin) +- From now, if you are using some object that inherits from `SimpleDelegator`, you must implement + `def to_model; self; end`. Otherwise, *Simple Form* will convert the decorated object to the model + since `SimpleDelegator` will delegate it to the model. * Code cleanup [@Fornacula](https://github.com/Fornacula) ### Bug fix