Forum: Ruby on Rails Role Based Authorisation

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F779209a7f02c754eda7b505898347f9?d=identicon&s=25 Rob Balfour (robtotheb)
on 2006-04-25 15:04
I've got salted login working but when i follow the rails receipe to add
role based authorisation I get this error:


NoMethodError in Admin#new

You have a nil object when you didn't expect it!
The error occured while evaluating nil.roles
This topic is locked and can not be replied to.