It think it's better to use a method instead of defining the method inline. Like:

```ruby
before_update :do_something_amazing

def do_something_amazing
end
```

it seems cleaner to me, and the method's name can explain a lot about what is actually being done.
Not sure which one is considered the best practice, though...