Permalink
Browse files

updated README

  • Loading branch information...
zenhob committed Mar 6, 2012
1 parent 935d11d commit 3d1ce111ac815cc58580851c5d08303fed57262e
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.markdown
View
@@ -11,10 +11,16 @@ and we don't want it stinking up the place.
There are actually two available APIs, the ActiveModel-workalike and a new one
called accessible_for. They provide identical functionality.
+# Installation
+
+ $ gem install accessible_for
+
# Usage
## ActiveModel-workalike API
+ require 'mass_assignment_backport'
+
class TacoShop < Controller
include MassAssignmentBackport
@@ -42,6 +48,8 @@ called accessible_for. They provide identical functionality.
## accessible_for API
+ require 'accessible_for'
+
class TacoShop < Controller
include AccessibleFor

0 comments on commit 3d1ce11

Please sign in to comment.