remove_references

remove_references(*args)
Instance Public methods

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)

remove_belongs_to

doc_ruby_on_rails
2015-06-20 00:00:00
Comments
Leave a Comment

Please login to continue.