Re: [rspec-users] restful_authentication's "permission_denied" and rspec

2008-11-24 Thread David Chelimsky
On Fri, Nov 21, 2008 at 8:20 AM, Ramon Tayag <[EMAIL PROTECTED]> wrote: > Hi everyone, > > WIth restful_authentication you get a method "permission_denied" that > you just slap onto the controller when you don't want a user to gain > access to something. In this method Rails does a bunch of stuff

Re: [rspec-users] restful_authentication's "permission_denied" and rspec

2008-11-24 Thread Nick Hoffman
On 2008-11-21, at 09:20, Ramon Tayag wrote: Hi everyone, WIth restful_authentication you get a method "permission_denied" that you just slap onto the controller when you don't want a user to gain access to something. In this method Rails does a bunch of stuff then basically tries to be smart an

[rspec-users] restful_authentication's "permission_denied" and rspec

2008-11-21 Thread Ramon Tayag
Hi everyone, WIth restful_authentication you get a method "permission_denied" that you just slap onto the controller when you don't want a user to gain access to something. In this method Rails does a bunch of stuff then basically tries to be smart and redirects the user somewhere else. I want t