You don't need the if else here, you can just do

```ruby
def finished
  params[:commit] == "Finished"
end
```