method
remove_references
v4.0.2 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::Table
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)