javascript - Excluding prototype in rails 3? -
in rails 3, when using <%= javascript_include_tag :defaults %>
, includes number of javascript files include prototype.js page.
i know can use config.action_view.javascript_expansions[:defaults] = %w(jquery)
in application.rb include more javascript files :defaults
set. how how exclude files in :default
set?
thanks in advance.
it's easy, take @ http://shiningthrough.co.uk/speed-up-your-ruby-on-rails-application-by-only-including-the-scriptaculous-libraries-you-need
Comments
Post a Comment