Module: ActiveRecord::ActsAs::Migration::Table
- Includes:
- TableDefinition
- Included in:
- ConnectionAdapters::Table
- Defined in:
- lib/active_record/acts_as/migration.rb
Instance Method Summary collapse
Methods included from TableDefinition
Instance Method Details
#remove_actable(**options) ⇒ Object
15 16 17 18 19 |
# File 'lib/active_record/acts_as/migration.rb', line 15 def remove_actable(**) name = .delete(:as) || :actable [:polymorphic] = true @base.remove_reference(@name, name, **) end |