bitencode/rails-footnotes — comment on commit cb53855942a411af2c5c1e03164fec1f38f79f05
File:  line 0
By rgabo:

Hey, I ended up doing the same from an initializer:

```

if defined?(Footnotes) && Rails.env.development?
Footnotes.run!

# Use MacVim as text editor
Footnotes::Filter.prefix = 'mvim://open?url=file://%s&line=%d&column=%d'

# Additional assigns to ignore
Footnotes::Notes::AssignsNote.ignored_assigns.concat([
:@_env,
:@_view_renderer,
:@_view_runtime,
:@_response_body,
:@_lookup_context,
:@_routes,
:@_action_has_layout,
:@_view_context_class,
:@_headers,
:@_prefixes,
:@_lookup_context,
:@_response_body,
:@_config
])
end
```

What would probably the best and would deserve a pull request by itself is to ignore all assigns that start with `@_` which is convention for *not meant for you* anyways.