README in anaf_habtm-0.0.7 vs README in anaf_habtm-0.0.8
- old
+ new
@@ -9,15 +9,17 @@
== Installation
* Install as a gem:
# Add to your Gemfile
- gem "anaf_habtm", :git => "git://github.com/tylergannon/anaf_habtm.git"
+ gem "anaf_habtm"
* or as a plugin
rails plugin install git://github.com/tylergannon/anaf_habtm.git
- rake anaf_habtm:install # copies some javascript to public
-
-
+
+Run the generator to place the javascript in the right place:
+
+ rails generate anaf_habtm
+
Add the following to your layout:
<%= javascript_include_tag 'nested_attributes.js' %>
== Usage