diff --git a/CHANGELOG.md b/CHANGELOG.md index fe3d4a10..daeb07da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -93,7 +93,7 @@ in the `PaperTrail::Version` class through a `Rails::Engine` when the gem is use with Rails `4.1.0.rc1`. - [#334](https://github.com/airblade/paper_trail/pull/334) - Add small-scope `whodunnit` method to `PaperTrail::Model::InstanceMethods`. - [#329](https://github.com/airblade/paper_trail/issues/329) - Add `touch_with_version` method to `PaperTrail::Model::InstanceMethods`, - to allow for generating a version `touch`ing a model. + to allow for generating a version while `touch`ing a model. - [#328](https://github.com/airblade/paper_trail/pull/328) / [#326](https://github.com/airblade/paper_trail/issues/326) / [#307](https://github.com/airblade/paper_trail/issues/307) - `Model.paper_trail_enabled_for_model?` and `model_instance.without_versioning` is now thread-safe. diff --git a/README.md b/README.md index 94658078..6edfdec8 100644 --- a/README.md +++ b/README.md @@ -174,7 +174,10 @@ version.event # Query versions objects by attributes. PaperTrail::Version.where_object(attr1: val1, attr2: val2) -# Query versions object_changes field by attributes (requires [`object_changes`](https://github.com/airblade/paper_trail#diffing-versions) column on versions table). Also can't guarantee consistent results for values of type Fixnum due to limitations of wildcard matchers against the column. +# Query versions object_changes field by attributes (requires +# `object_changes` column on versions table). +# Also can't guarantee consistent query results for values of type Fixnum +# due to limitations of SQL wildcard matchers against the serialized objects. PaperTrail::Version.where_object_changes(attr1: val1) ```