RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: docwhat
Site: http://docwhat.org/
How do you add authentication checks on the /editor/.* routes?
/editor/.*
I mean, I know you can:
But I'd prefer the user be kicked out of the editor in case he/she has a bookmark to the editor and isn't logged in.
Heh. I'm glad you still have the source on github for pro. That hande_none was driving me bonkers...
hande_none
I tried using 'guard-test' with Rails 3.1pre5 and apparently the 'test' isn't rack-test.... is there a rack-test guard so you can use this with the default testing framework for Rails3.1?
How do you add authentication checks on the
/editor/.*
routes?I mean, I know you can:
But I'd prefer the user be kicked out of the editor in case he/she has a bookmark to the editor and isn't logged in.
Heh. I'm glad you still have the source on github for pro. That
hande_none
was driving me bonkers...I tried using 'guard-test' with Rails 3.1pre5 and apparently the 'test' isn't rack-test.... is there a rack-test guard so you can use this with the default testing framework for Rails3.1?