Sha256: 007caf04af6dd7268a22653cd484492baaab90dec5b513b51834400a307264e0
Contents?: true
Size: 417 Bytes
Versions: 10
Compression:
Stored size: 417 Bytes
Contents
# frozen_string_literal: true module Clowne module Adapters # :nodoc: all class ActiveRecord module Associations class HABTM < Base def call(record) with_scope.each do |child| child_clone = clone_one(child) record.__send__(association_name) << child_clone end record end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems