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 would be good to don't strip on binary columns (@sql_type="mediumblob", @type=:binary). I had the callback added to ApplicationRecord, and had "invalid byte sequence in UTF-8" error on a binary column. I think strip_record could check the column.
Also, supporting a symbol for except or only to be a method name, or supporting proc, could be used to call strip_attributes in ApplicationRecord, and then define a method with the excluded columns:
It would be good to don't strip on binary columns (@sql_type="mediumblob", @type=:binary). I had the callback added to ApplicationRecord, and had "invalid byte sequence in UTF-8" error on a binary column. I think strip_record could check the column.
Also, supporting a symbol for except or only to be a method name, or supporting proc, could be used to call strip_attributes in ApplicationRecord, and then define a method with the excluded columns:
Or with proc:
The text was updated successfully, but these errors were encountered: