CodeQL library for Ruby
codeql/ruby-all 4.1.8 (changelog, source)
Search

Member predicate ActiveRecordAssociation::getTargetClass

Gets the class which this association refers to. For example, in

class User
  has_many :posts
end

the target class is Post.

ActiveRecordModelClass getTargetClass()