I wrote a authentication script and I'm calling it like this in every
class Blah < ApplicationController
req_perm = Permission.find_by_name("Permission Blah")
access = AccessController.new()
It works for the view pages but if an update or create is made then it
always redirects to the login_url. Acting like the user is not logged
in. But that's wrong.
Did I miss something about the before_filer ? Does it work different on