<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,13 +1,26 @@
 MassAssignmentMurderer
 ======================
 
-Introduction goes here.
+For all has_many associations you define in your models, Rails creates a mass assignment method, giving you the ability to change specific attributes of your associated models through mass assignment. This can be very dangerous when your users can create new records. For example, if a User has_many Comments, a comment_ids method is added to the User model, which contains an array of all Comments which belong to that User. For more clarification on the dangers of this issue, check out Railscast episode 26.
+
+
+MassAssignmentMurderer disables mass assignment for has_many association assignment methods. An equivalent effect can be achieved by making the appropriate declarations with attr_protected or attr_accessible. If you are already using attr_accessible in all of your models, then you are already safe.
 
 
 Example
 =======
 
-Example goes here.
+class Comment &lt; ActiveRecord::Base
+	belongs_to :user
+end
+
+class User &lt; ActiveRecord::Base
+	# this declaration creates attribute accessor methods for comment_ids
+	has_many :comments
+	
+	# No more mass assignment security hole.
+	has_mass_assignment_murderer
+end
 
 
-Copyright (c) 2008 [name of plugin creator], released under the MIT license
+Copyright (c) 2008 [Alex J. Sharp], released under the MIT license</diff>
      <filename>README</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>95fa680e2f6751b721e5364d382c81d22b70f59f</id>
    </parent>
  </parents>
  <author>
    <name>Alex Sharp</name>
    <email>ajsharp@gmail.com</email>
  </author>
  <url>http://github.com/ajsharp/mass_assignment_murderer/commit/275d9d8032ea1084241cb83612feff83f894f28d</url>
  <id>275d9d8032ea1084241cb83612feff83f894f28d</id>
  <committed-date>2008-06-05T19:45:55-07:00</committed-date>
  <authored-date>2008-06-05T19:45:55-07:00</authored-date>
  <message>Updated README file</message>
  <tree>483ab459f05a634141860d54abdd2940e312f3a4</tree>
  <committer>
    <name>Alex Sharp</name>
    <email>ajsharp@gmail.com</email>
  </committer>
</commit>
