Is there a way to check if an ActiveRecord attribute is serialized?

Viewed 75
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?

0 Answers
Related