Flowdock
method

encoded

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Serialized
encoded(value) private

No documentation

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

Hide source
# File activerecord/lib/active_record/type/serialized.rb, line 67
        def encoded(value)
          return if default_value?(value)
          payload = coder.dump(value)
          if payload && @subtype.binary?
            ActiveModel::Type::Binary::Data.new(payload)
          else
            payload
          end
        end
Register or log in to add new notes.