similar to: acl_system2 undefined method `access_control''

Displaying 20 results from an estimated 1000 matches similar to: "acl_system2 undefined method `access_control''"

2006 Mar 22
4
Problem with ACL plugin system
Don''t know if anyone else has experienced this but I''m having a problem with the access_denied method in Ezra''s ACL access control plugin. It''s working fine (in conjunction with acts_as_authenticated) until it comes across a user it denies access to, in which case it throws the following error: NoMethodError in Admin#index protected method
2007 Aug 11
2
Rspec and acl_system2 plugin
Hello, I''m trying to spec a Rails application using the couple restful_authentication/acl_system2 plugins. In my admin layout, I put the following code : <% restrict_to "admin" do -%> <ul id="admin-tabs"> <li> /users Users management </li> </ul> <% end -%> Then in my spec file
2006 May 02
3
Writing tests for plugins
I''ve been googling around trying to find some tips on creating tests for plugins. Am I correct in assuming that I''d have to have the tests as part of a rails app in order to test the plugin? I''d like to find a way to do standalone tests for the plugin. -- Posted via http://www.ruby-forum.com/.
2006 May 10
0
Ezra''s acl_system2 and flash not getting populated in functional tests
Hi all, I am using the LoginGenerator and Ezra''s acl_system2 to protect certain actions in my controllers. I have written some functional tests to check for correct handling of redirects, flashes, etc. The flashes however only get populated on the first get action in any given test. Here is what I have so far: In the controller: class PageController < AC before_filter
2007 Jul 06
3
stubbing helper methods for View specs
Hi there I have several view specs, that include the following snippet in their "before" block to stub the methods by acts_as_authenticated before :each do @u = mock_model(User) @u.should_receive(:name).and_return("Hans Muster") template.should_receive(:logged_in?).and_return(true) template.should_receive(:current_user).and_return(@u) end this
2006 Feb 21
0
acl_system plugin first look
Friends- Here is another plugin hot off the presses of the three day weekend ;) Its a role based authorization system. I have been talking with Bill Katz about this system so it ties in with his recent announcement as well. Its just my implementation. Its an acl/role type system that can sit on top of the acts_as_authenticated login system or any login system that implements a few
2006 Jun 02
2
State of the Art in Login?
Hi folks, I''ve got an older project I''ve used LoginGenerator for. It works pretty well, but lacks password resetting, etc. Now I''ve got a new project for a client that''s going to need login capabilities as well. I''ve been looking at the Salted Login Generator and the Login Engine, and have taken quick stabs at running through the installation
2006 Jan 11
14
User Engine/General Engine issues
I''m trying to get the login/user engine combo up and working and am having difficulties. I got the login engine up and running fine, no problems. Now, on to the user engine. After fixing the needed stuff in the bootstrap task so it loads I''m able to login as the default admin ok. BUT none of the views/controllers that are in login/user_controller are being overridden by the
2006 Jul 26
4
How to Install Engines?
I am trying to get this enginer to work....and I am not sure how to install the engine? could someone please give me some instructions with regards to this.... http://rails-engines.org/wiki/pages/DateboxEngine for example in the website above The Engines plugin or the EdgeEngines plugin * Engines 1.0 script/plugin install http://opensvn.csie.org/rails_engines/branches/engines/ *
2006 Jan 09
5
file_column content type
is there a way using the file_column plugin to enforce a certain content type based on regex (i.ie, /^image/) and/or filesize (150k) ? thanks adam
2005 Dec 29
2
Login plugin
All- I am new to Ruby; following are my two questions: 1. Which is the best login plugin? I keep hearing about SALT and loginengine. 2. For installing loginengine; I see the two following steps - Both these does not work for me. : $ script/plugin install login_engine ==I am getting "script/plugin is not a internal or external command, operable program or batch file"
2006 Jan 30
2
Modules, controllers and inheritance
Hi! I was trying to cleanup my app and I runned into quite a problem. My controllers in submodule do not seem to inherit things from base class. I have following setup: app/controllers/ application.rb: class ApplicationController admin/ admin_controller.rb: class Admin::AdminController < ApplicationController include LoginEngine include UserEngine
2007 May 24
3
Help with Create and Update with options_for_select in a select_tag
I have a select_tag in my view that uses options_for_select with multiple = true. I am having trouble figuring out the Rails way to create and update that field. Please help. Models: ------------- Service has_many AccessControl AccessControl belongs_to Service application.rb ------------------------- $types = Array["Athens", "htpasswd", "IP", "None",
2006 Feb 24
5
need help with form layout
Is there some way to format the layout of the fields within a form? I''ve got about 10 fields that I''d like to lay out in a couple of columns. Tried putting them in a table and that didn''t work too good. Any pointers will be very much appreciated. Thanks, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Mar 20
3
login_engine
Hello, I''m having trouble getting login_engine to work properly. I get the standard login/registration views, but whenever I try to register I get: NoMethodError in User#signup undefined method `password_confirmation='' for #<User:0x408b2f9c> I have login_engine, and engines installed from cvs: http://opensvn.csie.org/rails_engines/plugins/ anyone else had anything
2006 May 15
10
BackgrounDRb background task runner and Application Wide Context Store
Friends- I''m happy to annouce the first alpa release of BackgrounDRb. This is a small framework for managing long running background tasks that allows for ajax progress bars and more. It also serves as an Application wide cache and context store for when you need something like sessions but shared between users and multiple backend processes like fcgi''s or mongrels.
2005 Dec 29
5
help with installing login_engine
Hello, I did a script/plugin discover then script/plugin engine then script/plugin login_engine The discover worked, but I get engine and login_engine not found. I am using a Mac Thanks Frank
2006 Jul 18
2
2-column select lists (Available/Selected)
I''m trying to get one of those 2-column select lists (where there''s an "Add>>" and a "<<Remove" button between them) working for a Rails application. First of all, what the heck is this thing called? You''d list all of the available items in one select list, and the selected ones in the other. Items move from one list to the other, but
2006 Feb 01
2
Need clarification for Rails Engines SVN repository
Hi all ! Could someone tell me what''s what in the Rails Engines Subversion repository ? There are many folders where the Rails Engine is located, and from the folder names alone, I can''t really guess what''s what. For example, the rails engine plugin is situated at: plugins/engine engines/trunk branches/engines branches/edge_engines From the log, I gather
2006 Aug 01
2
HOWTO? security based on data values
Hi! I recently started with RoR and this may be a newbie question. I have a company table, employee table and transactions table. 1 company has many employees. Each employee performs many transactions. Employees from different companies LOGIN to the system to record their transactions. Employees can search on all transactions associated to their companies (indirect relationship via employee),