search for: all_roles

Displaying 1 result from an estimated 1 matches for "all_roles".

Did you mean: all_files
2005 Dec 09
7
UserEngine - rake bootstrap aborted
...failure: vince@vaio:~/Projects/Booking$ rake bootstrap (in /home/vince/Projects/Booking) rake aborted! undefined method `edit'' for class `UserController'' I''ve commented out the following: # We need to wrap around the old edit # alias :old_edit :edit # def edit # @all_roles = Role.find_all.select { |r| r.name != # UserEngine.config(:guest_role_name) } # old_edit # end (vendor/plugins/user_engine/app/controllers/user_controller.rb) It appears to have worked correctly and created the the default roles. Is this just depreciated code/bug, or will i run into prob...