You could just assign this the boolean and avoid having two lines to set each of these vars.
```ruby
old_is_active = (framework.db.workspace == workspace)
recreate_default = workspace.default?
```