PaperTrail v3.0.3 Release Notes

  • ๐Ÿ’Ž This version was yanked from RubyGems and has been replaced by version 3.0.5, which is almost identical, but does not eager load ๐Ÿš… in the PaperTrail::Version class through a Rails::Engine when the gem is used on Rails since it was causing issues for some users.

    • #386 - Fix eager loading of versions association with custom class name in ActiveRecord 4.1.
    • #384 - Fix VersionConcern#originator instance method.
    • #383 - Make gem compatible with ActiveRecord::Enum (available in ActiveRecord 4.1+).
    • #380 / #377 - Add VersionConcern#where_object instance method; acts as a helper for querying against the object column in versions table.
    • #373 - Fix default sort order for the versions association in ActiveRecord 4.1.
    • #372 - Use Arel for SQL construction.
    • #365 - VersionConcern#version_at should return nil when receiving a timestamp that occured after the object was destroyed.
    • Expand PaperTrail::VERSION into a module, mimicking the form used by Rails to give it some additional modularity & versatility.
    • Fixed VersionConcern#index instance method so that it conforms to using the primary key for ordering when possible.