Skip to content

Class Poly::PolymorphicJoinError

  • Inherits: StandardError
  • Defined in: lib/poly/polymorphic_join_error.rb

Raised by the generated joins_<association> methods when a join cannot be built safely: the argument is not an ActiveRecord model, or the target model does not declare the inverse has_many/has_one ..., as: association.