This project is archived and is in readonly mode.

#1938 ✓stale
magnus (at magnus-johansson)

error messages for render :inline is wrong

Reported by magnus (at magnus-johansson) | February 11th, 2009 @ 10:23 AM | in 3.x

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

Comments and changes to this ticket

  • Joe Yates

    Joe Yates April 14th, 2010 @ 04:09 PM

    Problem is not present in 3.0.0.beta3

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

  • Jeremy Kemper

    Jeremy Kemper May 4th, 2010 @ 06:48 PM

    • Milestone changed from 2.x to 3.x
  • Derek Willis

    Derek Willis October 23rd, 2010 @ 10:53 PM

    • 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).

  • Santiago Pastorino

    Santiago Pastorino February 2nd, 2011 @ 04:28 PM

    • 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.

  • Santiago Pastorino

    Santiago Pastorino February 2nd, 2011 @ 04:28 PM

    • State changed from “open” to “stale”

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>