indirect / jquery-rails

A gem to automate using jQuery with Rails 3
MIT License
465 stars 36 forks source link

Update README to eliminate reference to the javascript_include_tag #53

Closed fortuity closed 13 years ago

fortuity commented 13 years ago

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.

indirect commented 13 years ago

The readme now describes both what the generator does for Rails 3 and what the gem does for Rails 3.1. Thanks for the report!