Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Where clauses should use original attribute values
With current implementation, it is impossible to update any of the foreign or related keys in Pivot instance, without executing raw SQL queries, as the generated query is using current attribute values instead of the original values. This commit will fix this issue.
- Loading branch information