remove_references(*args)
Instance Public methods
Removes a reference. Optionally removes a type
column.
remove_references
and remove_belongs_to
are
acceptable.
1 2 | t.remove_references( :user ) t.remove_belongs_to( :supplier , polymorphic: true ) |
Please login to continue.