Or you could just call me:
Nerd, Solarpunk and Herb Witch 😁✌️
Which is obviously bullsh*t and you're like WHAAAAAT?? 😅
(see report github.com/rails/rails/...)
Which is obviously bullsh*t and you're like WHAAAAAT?? 😅
(see report github.com/rails/rails/...)
```
class Task < ApplicationRecord
enum :status, {
working_on_this: 0,
closed: 1
}
validates :owner_id, on: :update
end
```
The `validates` is obviously missing something like `presence: true`. But Rails thinks your `enum` above is the problem.
```
class Task < ApplicationRecord
enum :status, {
working_on_this: 0,
closed: 1
}
validates :owner_id, on: :update
end
```
The `validates` is obviously missing something like `presence: true`. But Rails thinks your `enum` above is the problem.