small medium large xlarge

Back to: All Forums  Rails Recipes
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. I downloadd the source code today (27Feb09) and found. I could not find the more basic *Athenticating Your Users @app/views/admin/signin.rhtml@ file among other things. I wish you could update the download file to include these.

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