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.

This project is archived and is in readonly mode.

undefined method `format_and_extension' for #<ActionView::InlineTemplate>

#1399

I don't have a simple reproducible case yet, but I'm receiving this error on 2-2-stable when trying to render a partial within a render_to_string. Full stack trace in this gist:

https://gist.github.com/5020c276...

Reported by Luke Melia · November 18th, 2008 @ 06:25 AM

State: resolved
Milestone: 2.x
Assigned to: josh josh
Importance: none

Activity

  1. Luke Melia
    Luke Melia

    I put together a failing test. While this may seem a little nuts, I am doing something similar in a production app and it works in 2.1.

    November 18th, 2008 @ 06:59 AM

  2. Luke Melia
    Luke Melia
    • Tag changed from 2.2, actionview, partial to 2.2, actionview, partial, patch

    You can ignore the previous attachment. Attached to this comment is a cleaner patch that also contains a fix.

    November 18th, 2008 @ 07:24 AM

  3. josh
    josh
    • Assigned user set to josh

    November 18th, 2008 @ 09:03 PM

  4. Repository
    Repository
    • State changed from new to resolved

    (from [afc7fceefcd93b60d7a52d80e38f807845999076]) Fix rendering html partial via inline render when with :js format [#1399 undefined method `format_and_extension' for #<ActionView::InlineTemplate> state:resolved]

    Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...

    November 18th, 2008 @ 09:18 PM

  5. Repository
    Repository

    (from [60d6f255177af3ca93721abb8551c8585fc8c67d]) Fix rendering html partial via inline render when with :js format [#1399 undefined method `format_and_extension' for #<ActionView::InlineTemplate> state:resolved]

    Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...

    November 18th, 2008 @ 09:19 PM