Browse files

Add a Rails 4 compatibility note to the README.

  • Loading branch information...
1 parent c4e188c commit 6306b9f095ee8aa6e3a750030f1667ba2c17554a @timothyandrew timothyandrew committed Dec 31, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1
@@ -239,7 +239,7 @@ Here's a helpful table showing what PaperTrail stores:
- </tr>
+ </tr>a
PaperTrail stores the values in the Model Before column. Most other auditing/versioning plugins store the After column.
@@ -724,6 +724,8 @@ end
Remember to add those extra columns to your `versions` table and use `attr_accessible` ;)
+**NOTE FOR RAILS 4:** If you're using strong parameters in Rails 4 and have *not* included the `protected_attributes` gem, there's no need to declare your metadata columns using `attr_accessible`.
## Diffing Versions

0 comments on commit 6306b9f

Please sign in to comment.