Skip to content

v0.6.0

Compare
Choose a tag to compare
@ledermann ledermann released this 27 May 12:57
· 185 commits to master since this release

New features

  • Readables: Added .read_by as the inverse of unread_by(#53, thanks to @mikeki)
  • Readers: Added .have_read and .have_not_read (#55, thanks to @mikeki)

Changes

  • acts_as_reader: For setting scope (previously undocumented feature), the option now takes a lambda instead of an array of symbols (0b91458)
  • Used quoting for column/table names in SQL statements

Bugfixes

  • Added compatibility for protected_attributes gem
  • Fixed memoization issue on resetting read_marks
  • Fixed eager loading by with_read_marks_for (#56, thanks to @mikeki)
  • Fixed nested transactions (#26)
  • Fixed a time fraction bug in unread_by scope (#51,#52, thanks to @huiping)