README.rdoc in rolify-0.6.0 vs README.rdoc in rolify-0.7.0
- old
+ new
@@ -9,11 +9,11 @@
This library was intended to be used with CanCan[https://github.com/ryanb/cancan] and devise[https://github.com/plataformatec/devise/] but should be generic enough to be used by any other authentication/authorization solutions.
== Requirements
-* >= Rails 3.1 (rc3 is currently out)
+* >= Rails 3.1 (rc4 is currently out)
* ActiveRecord ORM
== Installation
In <b>Rails 3</b>, add this to your Gemfile and run the +bundle+ command.
@@ -32,11 +32,10 @@
rails g rolify:role Role User
Role and User classes are the default. You can specify any Role class name you want. This is completly a new file so any name can do the job.
For the User class name, you would probably use the one provided by your authentication solution. rolify just adds some class methods in an existing User class.
-<b>**For now, please stick to Role and User class names, see {#5}[https://github.com/EppO/rolify/issues/5] for details**</b>
=== 2. Run the migration
Let's migrate !
@@ -81,16 +80,15 @@
user.has_role? "moderator", Forum.first
=> true
user.has_role? "moderator", Forum.last
=> true
-Please see on {the wiki}[https://github.com/EppO/rolify/wiki/Usage] for all the available commands
+Please see on {the wiki}[https://github.com/EppO/rolify/wiki/Usage] for all the available commands and the {Tutorial}[https://github.com/EppO/rolify/wiki/Tutorial] to understand how to use {rolify}[http://eppo.github.com/rolify] with {Devise}[https://github.com/plataformatec/devise] and {CanCan}[https://github.com/ryanb/cancan].
== Questions or Problems?
If you have any issue or feature request with/for rolify, please add an {issue on GitHub}[https://github.com/EppO/rolify/issues] or fork the project and send a pull request.
== TODO
-* write a tutorial showing how to use rolify with CanCan and devise
* complete tests coverage
* performance enhancements