Releases: ledermann/unread
Releases · ledermann/unread
Release list
v0.8.2
v0.8.1
v0.8.0
- Allows STI subclasses to be defined as readable without affecting parent classes (PR #68, thanks to @tangopium)
- Support for
pluralize_table_names = false(#69, thanks to @rlow) - Support for Rails 5
- Some cleanup
v0.7.1
v0.7.0
This release has some important improvements:
- Multiple reader classes are allowed (#63, thanks to @everplays)
acts_as_reader: Replaced:scopeoption by class method (2a1649e)acts_as_reader: Theafter_createcallback is customizable (1e4b8f2)- Improved performance of
cleanup_read_marks!(#64, thanks to @pyro2927) - Added
bin/console(useful for developing the gem) - Lots of code and spec cleanup
If you are using an older release of this gem, please read the the upgrade notes!
v0.6.3
v0.6.2
v0.6.1
v0.6.0
New features
- Readables: Added
.read_byas the inverse ofunread_by(#53, thanks to @mikeki) - Readers: Added
.have_readand.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
v0.5.0
- acts_as_reader: Added optional
:scopesoption - .mark_array_as_read: Better performance
- Rails 4.2 compatibility (thanks to @JuanitoFatas)
- Improved error messages (thanks to @kyuden)
- Migration: Removed harmful string length limit
- Use rails standard way reference to declare polymorphic associations (thanks to @wangqiang1208)