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.

register_javascript_include_default

#5290

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

Reported by Marc-AndrĂ© Lafortune · August 4th, 2010 @ 05:21 AM

State: resolved
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Ryan Bigg
    Ryan Bigg
    • 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

    October 11th, 2010 @ 03:29 AM

  2. af001
    af001

    私の中で、総合評価のとっても低いアバアバクロホリスタークロ銀座店。アバクロは大好きなんですけどね。一昨日の東京駅付近での打ち合わせの後、散歩がてら久々に行ってきました。そしたらビックリ!相変わらアバクロず、踊っているだけの店員さんとかもいましたが、

    May 5th, 2011 @ 03:00 AM