Skip to content

3.7.1

Latest

Choose a tag to compare

@coorasse coorasse released this 17 Nov 10:16
  • #939: Do not match a record of another model with the same id in can? when the value of a condition is a relation, as accessible_by already did: with a polymorphic association, can :read, Document, owner: Introduction.where(client: user) allowed a document owned by a record of another model with the id of an allowed introduction. (@manuelmeurer)