Sha256: ddadeacf9806a6b8c8c9cbfaccfd0b189f8e532fe9b6b44d41f25729fb4a9484

Contents?: true

Size: 188 Bytes

Versions: 3

Compression:

Stored size: 188 Bytes

Contents

module ActiveModel
  class Serializer
    # @api private
    class BelongsToReflection < Reflection
      # @api private
      def foreign_key_on
        :self
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_model_serializers-0.10.8 lib/active_model/serializer/belongs_to_reflection.rb
active_model_serializers-0.10.7 lib/active_model/serializer/belongs_to_reflection.rb
active_model_serializers-0.10.6 lib/active_model/serializer/belongs_to_reflection.rb