Flowdock
method

remove_references

Importance_1
Ruby on Rails latest stable (v3.2.13) - 0 notes - Class: ActiveRecord::ConnectionAdapters::Table
remove_references(*args) public

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

Examples
t.remove_references(:goat)
t.remove_references(:goat, :polymorphic => true)
t.remove_belongs_to(:goat)
Show source
Register or log in to add new notes.