Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Chris Vincent's latest activity

Friday, July 11 2008
520 view_paths does not work with actions or partials was updated in Ruby on Rails
  • Chris Vincent
    Chris Vincent commented at 7:46 PM

    Aha, that clears it up! The docs don't explain this very well. The examples provided are:

    ArticleController.prepend_view_path("views/default")
    ArticleContr...
Tuesday, July 01 2008
520 view_paths does not work with actions or partials was updated in Ruby on Rails
  • Chris Vincent
    Chris Vincent commented at 9:24 PM

    Okay. I managed to test for render :action but I'm not sure how to test that a specific partial got rendered. Here's the code:

    ### app/controllers/view_path...
  • Chris Vincent
    Chris Vincent created the ticket at 1:10 AM

    I've been unable to get my view_paths working as I would expect when I use the :action and :partial options for render. It only seems to affect the :template ...