Download Latest Version 1.3.0 source code.tar.gz (152.5 kB)
Email in envelope

Get an email when there's a new version of Logidze

Home / v0.11.0
Name Modified Size InfoDownloads / Week
Parent folder
0.11.0 source code.tar.gz 2019-08-15 130.6 kB
0.11.0 source code.zip 2019-08-15 165.3 kB
README.md 2019-08-15 722 Bytes
Totals: 3 Items   296.7 kB 0

This release reverts some changes made in 0.10.0 related to ignore_log_data functionality.

Changes

  • Return nil when log_data is not loaded instead of raising an exception.

We cannot distinguish between not loaded log_data and not-yet-created (i.e. for new records). The latter could be used in frameworks/gems (example).

  • Only allow specifying ignore_log_data at boot time without runtime modifications.

Playing with ActiveRecord default scopes wasn't a good idea. We fallback to a more explicit way of telling AR when to load or ignore the log_data column.

This change removes Logidze.with_log_data method.

Source: README.md, updated 2019-08-15