You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi馃憢
First of all thank you for the very helpful gem!
I found an unexpected behavior while using draper and would like to report it.
When the frozen? method is defined in the model, the decorated instance returns false.
Hi @kenzo-tanaka seems this is a ruby thing rather than a draper issue. If you call frozen? on the object without decorating it still returns false as long as you didn't freeze the object.
Hi馃憢
First of all thank you for the very helpful gem!
I found an unexpected behavior while using draper and would like to report it.
When the
frozen?
method is defined in the model, the decorated instance returns false.The following is a sample code.
https://github.com/kenzo-tanaka/tmp_draper
I'm sorry if I misunderstood something about this behaviour馃檹
The text was updated successfully, but these errors were encountered: