```ruby
class User < ApplicationRecord
  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable, :confirmable,
         :recoverable, :rememberable, :trackable, :validatable
  has_many :pictures, as: :imageable, dependent: :destroy
  has_many :votes, dependent: :destroy
end```

Add has_many rentals to User
user
```ruby
class User < ApplicationRecord
  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable, :confirmable,
         :recoverable, :rememberable, :trackable, :validatable
  has_many :pictures, as: :imageable, dependent: :destroy
  has_many :votes, dependent: :destroy
  has_many :rentals, dependent: :destroy
end```
assistant