Sha256: 7b458840da346d7eccd78b1ce3f7bdb1868551fcf091c2a94893d9ed551957e5
Contents?: true
Size: 351 Bytes
Versions: 12
Compression:
Stored size: 351 Bytes
Contents
# frozen_string_literal: true # The purpose of this custom version class is to test the scope methods on the # VersionConcern::ClassMethods module. See # https://github.com/airblade/paper_trail/issues/295 for more details. class JoinedVersion < PaperTrail::Version default_scope { joins('INNER JOIN widgets ON widgets.id = versions.item_id') } end
Version data entries
12 entries across 12 versions & 1 rubygems