I'm running bundler with rails 2.3.4.
I'm trying to get declarative_authorization to work (I added it to my Gemfile).
The error I'm getting is undefined local variable or method 'filter_resource_access'
.
I'm guessing this means that declarative_authorization isn't loading? Since I'm using bundler I don't have a config.gem
line for 开发者_如何转开发it in environment.rb
. If I add it in, though, it throws an error trying to start the server: Uninitialized constant Authorization
.
Not too sure what to do... Help would be greatly appreciated!
Are you sure you can use bundler with Rails 2.3.4 ? Follow the excellent screencast to the T , and there is no reason why it won't work. Declarative Authroization is by far the most powerful authorization solution available.
精彩评论