Declarative_authorization doesn't seem to load?

I run a bunch with rails 2.3.4.

I am trying to get declarative_authorization to work (I added it to my Gemfile).

The error I get is this undefined local variable or method 'filter_resource_access'.

I assume this means that declarative_authorization is not loading? Since I use bundler, I do not have a line config.gemfor it in environment.rb. If I add it, it causes an error when you try to start the server: Uninitialized constant Authorization.

Not too sure what to do ... Help would be greatly appreciated!

+3
source share
1 answer

, bundler Rails 2.3.4? T, , . Declarative Authroization - .

+3

Source: https://habr.com/ru/post/1769718/


All Articles