method

read_attribute_for_serialization

Importance_0
v7.2.3 - Show latest stable - 0 notes - Class: Attachable
read_attribute_for_serialization(key) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actiontext/lib/action_text/attachable.rb, line 148
      def read_attribute_for_serialization(key)
        if key == "attachable_sgid"
          persisted? ? super : nil
        else
          super
        end
      end
Register or log in to add new notes.