gf on render lines in controller gives "file not found" #181

drasch opened this Issue Sep 18, 2012 · 2 comments


None yet

2 participants


for example, in the file:

on the render line below, with the cursor where the * is, if I type "gf" I then get the error
E345: Can't find file "app/views/subscription/subscribe_success" in path

however, if I run: ":e app/views/subscription/subscribe_success.rhtml", the file loads just fine. This works just fine for render :partial => lines when I'm editing a rhtml file.

def subscription_save
///.... SNIP

render :template => 'subscription/sub*scribe_success', :layout => current_secure_layout


@tpope tpope added a commit that closed this issue Sep 18, 2012
@tpope Fix gf on render :template/:action
Resolves #181.
@tpope tpope closed this in 2d65581 Sep 18, 2012

Fixed. Thanks for the heads up.

Side note: .rhtml? That's some serious legacy code. Having been deprecated five years ago, I don't officially support it.


Wow, thanks! That was fast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment