Back to: All Forums  Rails Recipes  Authorizing Users with Roles
20 Nov 2007, 13:04
spacer

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
spacer

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
spacer

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


gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.