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.

error messages for render :inline is wrong

#1938

when doing: render :inline => "<%= false = true %>"

...from a helper method, the error is: NoMethodError: undefined method relative_path' for #<ActionView::InlineTemplate:0x3466164>

...and not: Can't assign to false

Rails 2.2.2 in dev mode

Reported by magnus (at magnus-johansson) · February 11th, 2009 @ 10:23 AM

State: stale
Milestone: 3.x
Assigned to: nobody
Importance: none

Activity

  1. Joe Yates
    Joe Yates

    Problem is not present in 3.0.0.beta3

    Error is now:
    compile error inline template:1: Can't assign to false

    April 14th, 2010 @ 04:09 PM

  2. Jeremy Kemper
    Jeremy Kemper
    • Milestone changed from 2.x to 3.x

    May 4th, 2010 @ 06:48 PM

  3. Derek Willis
    Derek Willis
    • Importance changed from to

    Don't know if this will be fixed, but this problem still exists in 2.3.x (replicated using 2.3.8 in dev mode).

    October 23rd, 2010 @ 10:53 PM

  4. Santiago Pastorino
    Santiago Pastorino
    • State changed from new to open

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.

    Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.

    February 2nd, 2011 @ 04:28 PM

  5. Santiago Pastorino
    Santiago Pastorino
    • State changed from open to stale

    February 2nd, 2011 @ 04:28 PM