Sha256: 88a6a2ea4ebab5793585ba469ec27ba067bed23c9cd68f613bf83b555618caed

Contents?: true

Size: 318 Bytes

Versions: 18

Compression:

Stored size: 318 Bytes

Contents

# 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

18 entries across 18 versions & 1 rubygems

Version Path
paper_trail-4.2.0 test/dummy/app/versions/joined_version.rb
paper_trail-4.1.0 test/dummy/app/versions/joined_version.rb
paper_trail-4.0.2 test/dummy/app/versions/joined_version.rb
paper_trail-4.0.1 test/dummy/app/versions/joined_version.rb
paper_trail-3.0.9 test/dummy/app/versions/joined_version.rb
paper_trail-4.0.0 test/dummy/app/versions/joined_version.rb
paper_trail-4.0.0.rc2 test/dummy/app/versions/joined_version.rb
paper_trail-4.0.0.rc1 test/dummy/app/versions/joined_version.rb
paper_trail-3.0.8 test/dummy/app/versions/joined_version.rb
paper_trail-3.0.7 test/dummy/app/versions/joined_version.rb
paper_trail-4.0.0.beta2 test/dummy/app/versions/joined_version.rb
paper_trail-4.0.0.beta1 test/dummy/app/versions/joined_version.rb
paper_trail-3.0.6 test/dummy/app/versions/joined_version.rb
paper_trail-3.0.5 test/dummy/app/versions/joined_version.rb
paper_trail-3.0.2 test/dummy/app/versions/joined_version.rb
paper_trail-3.0.1 test/dummy/app/versions/joined_version.rb
paper_trail-3.0.0 test/dummy/app/versions/joined_version.rb
paper_trail-3.0.0.rc2 test/dummy/app/versions/joined_version.rb