method

remove_references

rails latest stable - Class: ActiveRecord::ConnectionAdapters::Table

Method not available on this version

This method is only available on newer versions. The first available version (v2.1.0) is shown here.

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)