Flowdock
method

foreign_key_present

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActiveRecord::Associations::AssociationProxy

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

foreign_key_present() private

Can be overwritten by associations that might have the foreign key available for an association without having the object itself (and still being a new record). Currently, only belongs_to presents this scenario (both vanilla and polymorphic).

Show source
Register or log in to add new notes.