search for: scoped_access

Displaying 6 results from an estimated 6 matches for "scoped_access".

2006 Jun 28
2
[PATCH] Bug fixes and additions to scoped_access
I found that scoped_access does not re-evaluate the filters on every run. If you are filtering access based on parameters, this can be bad. The scope is set on the first request and then further requests use the last generated scoping. The initial part of ScopedAccess::Filter#before looks like this: @scoping = controll...
2008 Jun 24
0
scoped_access plugin and 2.0
Hi It would seem that the scoped_access plugin from 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...
2006 Mar 30
4
with_scope and filters for Rails 1.1 (scoped_access plugin)
Has anyone successfully gotten the scoped_access[1] plugin to work in Rails 1.1? Some of the methods it was relying on are now no longer accessible. It seems the only way to add scope is to use the ''with_scope'' method that takes a block, but since Rails doesn''t have real around filters[2] I cannot see a way of addin...
2006 Jun 15
1
Unicode hacks - problem
...nd now it fails when rails are started .... C:\ruby_projects\radrails\workspace\auth_template>mongrel_rails start ** Starting Mongrel in development mode at 0.0.0.0:3000 ** Starting Rails in environment development ... C:/ruby_projects/radrails/workspace/auth_template/config/../vendor/plugins/scoped_access/init.rb:17:in `load_plugin'': un defined method `alias_method_chain'' for #<Class:Dispatcher> (NoMethodError) from c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/initializer.rb:348:in `load_plugin'' from c:/ruby/lib/ruby/gems/1.8/gems/activesupport...
2010 Aug 14
0
i am getting errors when run these commands...........
...e rails:update (in /root/.coupa-1.5) DEPRECATION WARNING: Rake tasks in vendor/plugins/backgroundrb/tasks, vendor/plugins/blueprint/tasks, vendor/plugins/coupa_engine/tasks, vendor/plugins/deprecated/tasks, vendor/plugins/engines/tasks, vendor/ plugins/human_attribute_override/tasks, vendor/plugins/scoped_access/ tasks, vendor/plugins/selenium-on-rails/tasks, and vendor/plugins/ user_engine/tasks are deprecated. Use lib/tasks instead. (called from <top (required)> at /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.8/ lib/tasks/rails.rb:10) rake aborted! no such file to load -- yaml/encoding /usr/local/...
2010 Aug 16
0
[RE][RE][RE] i am getting errors when run these commands...........
...rails:update (in /root/.coupa-1.5) DEPRECATION WARNING: Rake tasks in vendor/plugins/backgroundrb/ tasks, vendor/plugins/blueprint/tasks, vendor/plugins/coupa_engine/tasks, vendor/plugins/deprecated/tasks, vendor/plugins/engines/tasks, vendor/ plugins/human_attribute_override/tasks, vendor/plugins/scoped_access/ tasks, vendor/plugins/selenium-on-rails/tasks, and vendor/plugins/ user_engine/tasks are deprecated. Use lib/tasks instead. (called from <top (required)> at /usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.8/ lib/tasks/rails.rb:10) rake aborted! no such file to load -- yaml/encoding /usr/local/...