Flowdock
method

foreign_key_present

Importance_1
v3.0.5 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::AssociationProxy
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.