I might be tempted to write this more as flow logic given what you are doing here:

```ruby
add_form_transition(transition, transition.method) and return if transition.templated?
```
Thoughts?.