Authorizing Users with Roles |
20 Nov 2007, 13:04
Karsten Wilke (3 posts) |
Hi, i downloaded the source for the book and i wanted to look up the source for Authorizing Users with Roles but i can not find it. Does the example come with the code you can download or is it not in there ? |
28 Feb 2009, 06:26
Jose Ambros-Ingerson (1 post) |
It appears that not only the Roles part is missing. Thanks, Jose |
16 Jul 2011, 18:52
Simon de Weerdt (1 post) |
has_and_belongs_to_many is deprecated as of rails 3.1. Perhaps this recipe needs to be updated to use has_many :roles, :through => roles_users or some_such. |
You must be logged in to comment |