Skip to content

Commit 97db4b7

Browse files
Released 0.11.0
## Changed - Deprecated `Relationship.seed!` in favor of `AdjustableSchema.relationship!`. - Special naming rules for “actor-like” models: switched from `<associat>ful` form to check for related records’ presence back to a passive one (`<associat>ed`). Thus, it’s `authored` and `edited` now instead of `authorful` and `editful`. - `Relationship.to`/`.of` handle STI classes precisely instead of falling back to a base class. - Customized inspections for `Relationship`. ## Added - `referencing`/`referenced_by` scopes to filter by related records. - `#referencing!`/`#referenced_by!` setters to add related records. - Short-cut methods for related records. For example, `authors` association provides the following extras: - `.authored_by` scope to filter records by authors, - `#authored_by?` — to check if the record is authored by provided ones, - `#authored_by!` — to add an author.
1 parent e8c1945 commit 97db4b7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## [0.11.0]UNRELEASED
1+
## [0.11.0]2025-05-09
22

33
### Changed
44

lib/adjustable_schema/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module AdjustableSchema
4-
VERSION = '0.11.0.alpha'
4+
VERSION = '0.11.0'
55
end

0 commit comments

Comments
 (0)