similar to: [PATCH] Bug fixes and additions to scoped_access

Displaying 8 results from an estimated 8 matches similar to: "[PATCH] Bug fixes and additions to scoped_access"

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 adding a scope using a filter. Anyone using with_scope
2006 Jul 17
1
:create paramaters don''t get through (scoped_acces plugin)
Hi all, I''m wrestling with the scoped acces plugin to generate object access controll, but the :create params don''t seem to get through. :find works great. This is the code around_filter ScopedAccess::Filter.new(Service, :service_filter) layout "settings" protected def service_filter { :find => {:conditions => ["business_id =
2006 Jun 15
1
Unicode hacks - problem
I have updated to latest Unicode hacks plugin and 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
2010 Aug 14
0
i am getting errors when run these commands...........
XXXXXXXXXX:~/.coupa-1.5#gem list *** LOCAL GEMS *** actionmailer (2.3.8) actionpack (2.3.8) activerecord (2.3.8) activeresource (2.3.8) activesupport (2.3.8) acts_as_ferret (0.4.1) daemons (1.0.10) gem_plugin (0.2.3) gemsonrails (0.7.2) minitest (1.6.0) mongrel (1.2.0.pre2) mysql (2.8.1) rack (1.1.0) rails (2.3.8) rake (0.8.7) rdoc (2.5.8) rtf (0.1.0) rubygems-update (1.3.7) rvm (0.1.45)
2010 Aug 16
0
[RE][RE][RE] i am getting errors when run these commands...........
I am using ubuntu 10.04.1 ............. I want to run my coupa application all required gems FOR COUPA-1.5 are 1. gem install rails –v 1.2.3 ------------------------------ But i have installed gem install rails (2.3.8) 2. gem install ferret –v 0.11.4 ------------------------------ But i have installed gem install sdsykes-ferret (0.11.6.19) 3. gem install -y -v 0.4.1 acts_as_ferret 4. gem
2006 Apr 03
4
Clearing out filters in ActionController
I want to run a single filter in my application.rb file, and then if a certain condition is true, end the action''s processing immediately. Right now I''m using prepend_before_filter to ensure that it gets run first, but some of my around_filters are still being processed. Is there a way that I can clear out all the filters that should be run? Basically it''ll look
2006 Apr 05
3
"partitioning" table access
Hopefully someone can give me some advice on how to approach this problem... I''m getting ready to start a large new project where several different organizations would be working with a lot of tables. Each table would have an organization_id field to signify which organization owns that record. Organizations would only be able to view/edit records they own. Potentially thousands of