remove_references

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)

remove_belongs_to

doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.