class Company < ApplicationRecord
serialize :emails, Array
end
I need to know if emails attribute is serialized.
I expected to find a method like serialized? or serialized_by?, but I couldn't find it.
Is there a way to check this?
class Company < ApplicationRecord
serialize :emails, Array
end
I need to know if emails attribute is serialized.
I expected to find a method like serialized? or serialized_by?, but I couldn't find it.
Is there a way to check this?