On 8 April 2016 at 12:51, Naveed Alam wrote:
>>
>> Colin
>
> I get the following error when I goto the privilege page.
>
> NoMethodError in Employee#edit_privilege
>
> Showing app/views/employee/edit_privilege.html.erb where line #82
> raised:
>
> You have a nil object when you didn't expect it!
>
>
> Colin
I get the following error when I goto the privilege page.
NoMethodError in Employee#edit_privilege
Showing app/views/employee/edit_privilege.html.erb where line #82
raised:
You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The
On 26 March 2016 at 10:15, Naveed Alam wrote:
> Colin
>
> Sorry below is line 24
>
> role_plugin_hash =
> Authorization::Engine.instance.roles_plugin_hash[self.name.underscore.to_sym]
So Authorization::Engine.instance.roles_plugin_hash is nil.
Colin
--
You received this message because you a
Colin
Sorry below is line 24
role_plugin_hash =
Authorization::Engine.instance.roles_plugin_hash[self.name.underscore.to_sym]
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe
4 matches
Mail list logo