Another option:

```ruby
def active_in controller
  @current_controller == controller ? 'active' : ''
end
```