```ruby
class Item < ActiveRecord::Base
	serialize :sections, Hash
	
	belongs_to :item_type
	belongs_to :origin, polymorphic: true

	has_many :user_votes
	has_and_belongs_to_many :wards
end
```

Fix Item Not Deleting Do To Foreign Key Violation
user
```ruby
class Item < ActiveRecord::Base
	serialize :sections, Hash
	
	belongs_to :item_type
	belongs_to :origin, polymorphic: true

	has_many :user_votes
	has_many :motion
	has_and_belongs_to_many :wards
end
```
assistant