This project is archived and is in readonly mode.

#3532 ✓wontfix
Anil Wadghule

Print partial name in HTML, in development mode

Reported by Anil Wadghule | December 1st, 2009 @ 08:04 PM Rails plugin prints partial names in HTML as html comments. I feel it;s functionality should part of Rails core which can be enabled or disabled. The other option is to add a app config which when ON can turn this code on. Any suggestions?

Comments and changes to this ticket

  • Craig Buchek

    Craig Buchek April 13th, 2010 @ 01:54 AM

    • Tag changed from html comment partials, rails to html comment partials, feature_request, partials, rails
    • Assigned user set to “DHH”

    This sounds like a good idea, but should only be enabled in non-production environments. (And easily turned off or on.)

    That said, this is a feature request, and would need to have a patch against Rails master to get integrated into Rails.

    I'd also suggest that you get your users to +1 it here.

    Assigning to DHH due to his "Rave Review" at the bottom of ;)

  • Brian Rose

    Brian Rose April 13th, 2010 @ 02:15 AM

    I definitely understand the usefulness, but I don't understand why it should be part of Rails. Keeping it in a plugin seems like the right way to go, imo.

  • Amos King

    Amos King April 14th, 2010 @ 02:04 AM

    I think it should stay as a patch. A framework should optimize because you don't know the end user's use case all the time, and if they have a lot of partals that is a lot of extra info down the wire, and exposes part of your implementation that many companies may not want to happen. I think keep it as a plugin. If you want it make it only work if you turn it on.

  • Ryan Bigg

    Ryan Bigg April 14th, 2010 @ 04:13 AM

    • State changed from “new” to “wontfix”

    Yes, I agree keep it as a plugin. That's 3 -1s so...

  • Ryan Bigg

    Ryan Bigg October 9th, 2010 @ 10:10 PM

    • Tag cleared.

    Automatic cleanup of spam.

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>