The README says the generator adds "jQuery to the javascript files included by the javascript_include_tag(:defaults) call." That's a bit confusing since Rails 3 now uses
config.action_view.javascript_expansions[:defaults] = %w()
in the config/application.rb file and lib/jquery-rails.rb sets
config.action_view.javascript_expansions[:defaults]
to include the jquery files.
Please, the README should be updated to describe what the generator does for Rails 3.
The README says the generator adds "jQuery to the javascript files included by the javascript_include_tag(:defaults) call." That's a bit confusing since Rails 3 now uses
config.action_view.javascript_expansions[:defaults] = %w()
in the config/application.rb file and lib/jquery-rails.rb sets
config.action_view.javascript_expansions[:defaults]
to include the jquery files.
Please, the README should be updated to describe what the generator does for Rails 3.