Flowdock
method

configure_dependency_for_has_one

Importance_1
v2.3.2 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::ClassMethods
configure_dependency_for_has_one(reflection) private

Creates before_destroy callback methods that nullify, delete or destroy has_one associated objects, according to the defined :dependent rule.

Show source
Register or log in to add new notes.