Skip to content

0.11.0

Compare
Choose a tag to compare
@palkan palkan released this 15 Aug 15:42
· 173 commits to master since this release

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.