Sha256: 165f2566de4a550d0e63fbaee1e4d1b8925ffdb3a0d29c877e92b4c4bbd7d083
Contents?: true
Size: 294 Bytes
Versions: 5
Compression:
Stored size: 294 Bytes
Contents
module Encore module Serializer module MainResourceLinksManager module ReflectionHasMany extend ActiveSupport::Concern def self.add(item, reflection) item.send("#{reflection.name.to_s.singularize}_ids").map(&:to_s) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems