This project is archived and is in readonly mode.

#5290 ✓resolved
Marc-André Lafortune

register_javascript_include_default

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': http://github.com/rails/rails/commit/97b773303d1fd3c585957b9d4d2bf9...

Wasn't this the accepted way to add a javascript file? Actually, the rdoc still states that's the way to go! See http://github.com/rails/rails/blob/master/actionpack/lib/action_vie...

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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages