- Upgrade
mongo
dependency to support version2.14.1
- Allow support in a Rails 5 context (@maxjacobson)
Minidoc::ReadOnly
should support per-classconnection
anddatabase
overrides, same as normal classes. (@wfleming)
- Association methods that raise when the document is not found (@pbrisbin)
- Removed transaction support. (@wfleming)
- Updated
updated_at
when enabled from all setter methods. (@wfleming)
No changes! Same as v1.0.0.rc2
🎉
- Allow omitting selectors to finder methods. (@maxjacobson)
- Minidoc#reload will raise Minidoc::DocumentNotFoundError when the document no longer exists, rather than a nil error. (@maxjacobson)
- Make Minidoc.wrap and Minidoc.from_db private. (@maxjacobson)
- #24: Add
Minidoc.all
. (@pbrisbin) - #24: Add
Minidoc.find_one!
. (@pbrisbin) - #28: Add
Minidoc.find_one_or_initialize
. (@nporteschaikin) - #32: Infer class names for associations when not provided. (@wfleming)
- #26: Improve performance of
Minidoc.exists?
. (@wfleming) - #31: Fix
save
dropping some attributes. (@nporteschaikin) - Improve errors when the user has forgotten to provide database connection information. (@maxjacobson)
Minidoc was originally created by @brynary and has been used in production extensively at Code Climate. This is the first version released to rubygems.