remove_references(*args) public

Removes a reference. Optionally removes a type column. remove_references and remove_belongs_to are acceptable.

Examples
t.remove_references(:goat)
t.remove_references(:goat, :polymorphic => true)
t.remove_belongs_to(:goat)
Show source
Register or log in to add new notes.