README.md in attribute_ext-1.0 vs README.md in attribute_ext-1.0.1
- old
+ new
@@ -1,15 +1,26 @@
AttributeExt
============
-Copyright (C) 2011 Jan Graichen
-
AttributeExt provides additional access control for rails model attributes.
It contains two modules one to protect attributes from mass assignment and one
to hide attributes when serializing models.
+Install
+-------
+
+Just add the following to your Gemfile
+
+ gem 'attribute_ext'
+
+and run `bundle` command.
+
+You can also install AttributeExt as a rails plugin by cloning the repository to
+`vendor/plugins`.
+
+
Changelog
---------
Sep 1, 2011
@@ -70,11 +81,11 @@
Protects attributes from mass assignment using rails mass assignment authorizer.
Also support Proc blocks.
Examples:
-Never allow mass assignment for attribute.
+Always allow mass assignment for attribute.
class User < ActiveRecord::Base
safe_attributes :attribute
end
@@ -92,7 +103,9 @@
end
License
-------
+Copyright (C) 2011 Jan Graichen
+
AttributeExt is licensed under the Apache License, Version 2.0.
-See LICENSE for more information.
\ No newline at end of file
+See LICENSE for more information.