Sha256: 4f73fcd5ec7a8288fb08049cd82c087aba14605c8c9ce5d5cbd7072971feb21d

Contents?: true

Size: 685 Bytes

Versions: 1

Compression:

Stored size: 685 Bytes

Contents

## v0.1.0 - 2016-03-18

Initial Release

* This gem differs from current Rails master's implementation in two ways:
  * To support Rails 3, the 'default' relation includes a `WHERE (1=1)` clause,
    as a workaround for the fact that `.all` is an array in AR 3.
  * When limiting/offseting results, the limited size of the relation is not
    taken into account in the cache key; this will err toward expiring too much
    rather than too little, and will *always* do a count query regardless of
    whether the relation is loaded or not.

## v0.1.1 - 2016-04-01

Bugfix

* Corrects a bug where models with a `#size` or `#timestamp` method could
  fail to generate a proper cache key.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activerecord-collection_cache_key-0.1.1 CHANGELOG.md