Displaying 1 result from an estimated 1 matches for "countrycontroller".
2006 Aug 05
2
acl_system2 undefined method `access_control''
...t;ruby script\plugin source http://opensvn.csie.org/ezra/rails/plugins/dev/acl_system2
Then I installed the lib and test
>ruby script\plugin install lib
>ruby script\plugin install test
Created the role.rb model, etc. as per the readme file, then added this
to one of my controllers:
class CountryController < ApplicationController
before_filter :login_required
access_control [:new, :create, :update, :edit] => ''(administrator)''
...
end
and get the following error when I call an action on this controller:
undefined method `access_control'' for CountryControll...