W3cubDocs

/Ruby on Rails 5.2

class ActiveRecord::InvalidForeignKey

Parent:
ActiveRecord::WrappedDatabaseException

Raised when a record cannot be inserted or updated because it references a non-existent record.

© 2004–2018 David Heinemeier Hansson
Licensed under the MIT License.