# Scoped\_access plugin and 2.0

**URL:** <https://www.ruby-forum.com/t/scoped-access-plugin-and-2-0/141340>\
**Category:** Rails\
**Created:** [June 24, 2008, 9:23pm UTC](https://www.ruby-forum.com/t/scoped-access-plugin-and-2-0/141340 "2008-06-24T21:23:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChrisS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c37758/32.png) [@ChrisS](https://www.ruby-forum.com/u/ChrisS)\
**Post date:** [June 24, 2008, 9:23pm UTC](https://www.ruby-forum.com/t/scoped-access-plugin-and-2-0/141340/1 "2008-06-24T21:23:06Z")

</div>

Hi

It would seem that the scoped\_access plugin from  
[http://wota.jp/svn/rails/plugins/branches/stable/scoped\_access](http://wota.jp/svn/rails/plugins/branches/stable/scoped_access)  
is incompatible with Rails 2.0.2.

/home/httpd/rails/demoone/vendor/plugins/scoped\_access/init.rb:18:in  
`alias\_method’

undefined method `prepare_application' for class `Class’  
(  
NameError  
)  
from /home/httpd/rails/demoone/vendor/plugins/scoped\_access/init.rb:  
18:in `evaluate\_init\_rb’  
…

It looks like I can replace its use in around\_filter in my controllers  
with with\_scope which has to be in the models.

Chris
