Module PaperTrail::VersionConcern::ClassMethods
In: lib/paper_trail/version_concern.rb

Methods

Public Instance methods

Returns whether the `object_changes` column is using the `json` type supported by PostgreSQL.

Returns whether the `object` column is using the `json` type supported by PostgreSQL.

Returns versions before `obj`.

@param obj - a `Version` or a timestamp @param timestamp_arg - boolean - When true, `obj` is a timestamp.

  Default: false.

@return `ActiveRecord::Relation` @api public

Returns versions after `obj`.

@param obj - a `Version` or a timestamp @param timestamp_arg - boolean - When true, `obj` is a timestamp.

  Default: false.

@return `ActiveRecord::Relation` @api public

Defaults to using the primary key as the secondary sort order if possible.

Performs an attribute search on the serialized object by invoking the identically-named method in the serializer being used.

[Validate]