```ruby
class CouncillorDetailSerializer < ActiveModel::Serializer
	attributes :id, :first_name, :last_name, :start_date_in_office, :website, :twitter_handle, 
	:facebook_handle, :email, :phone_number, :address, :image

	has_one :ward
	has_many :motions
	has_many :items, as: :origin
end
```

Add a Councillor's Vote In Their Details Page
user
```ruby
class CouncillorDetailSerializer < ActiveModel::Serializer
	attributes :id, :first_name, :last_name, :start_date_in_office, :website, :twitter_handle, 
	:facebook_handle, :email, :phone_number, :address, :image

	has_one :ward
	has_many :motions
	has_many :councillor_vote
	has_many :items, as: :origin
end
```
assistant