Local variable named as partial view should be understood and have correspong type. Can extract from partial call :collection attribute — RubyMine feature request — Has it shipped?