remove_references(*args) public

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

t.remove_references(:user)
t.remove_belongs_to(:supplier, polymorphic: true)

See SchemaStatements#remove_reference

Show source
Register or log in to add new notes.