This project is archived and is in readonly mode.

#5290 ✓resolved
Marc-André Lafortune


Reported by Marc-André Lafortune | August 4th, 2010 @ 05:21 AM

I'm skeptical at the usefulness of breaking compatibility by removing 'register_javascript_include_default':

Wasn't this the accepted way to add a javascript file? Actually, the rdoc still states that's the way to go! See

3 choices, in my personal order of preference:
1) Re-introduce register_javascript_include_default
2) Re-introduce register_javascript_include_default with a deprecation warning, and update the rdoc
3) Update the rdoc

Comments and changes to this ticket

  • Ryan Bigg

    Ryan Bigg October 11th, 2010 @ 03:29 AM

    • State changed from “new” to “resolved”
    • Importance changed from “” to “Low”

    Use config.action_view.javascript_expansions in config/application.rb for this now.

    I have removed reference to this method in the documentation in docrails @ ef74ad8

  • af001

    af001 May 5th, 2011 @ 03:00 AM


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>

People watching this ticket