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
It is impossible to use false values in documents because Sablon::Statement::Insertion removes them. Does it intended or maybe content should be checked there using #nil? method.
The text was updated successfully, but these errors were encountered:
I'm not sure I understand your use case. dou want to insert false into the template? In that case I suggest to use boolean.to_s instead of the true/false values.
Anyway, I have custom rails-specific wrapper for Sablon::Content that replaces true/false with localized strings (actually I've just patched Sablon::Content::String). But mentioned code just skips false values.
It is impossible to use
false
values in documents becauseSablon::Statement::Insertion
removes them. Does it intended or maybe content should be checked there using #nil? method.The text was updated successfully, but these errors were encountered: