RailsCasts Pro episodes are now free!

Learn more or hide this

Christian H's Profile

GitHub User: docwhat

Site: http://docwhat.org/

Comments by Christian H

Avatar

How do you add authentication checks on the /editor/.* routes?

I mean, I know you can:

  • hide the link to the editor when not authenticated.
  • refuse updates from the editor when not authenticated.

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.

Avatar

Heh. I'm glad you still have the source on github for pro. That hande_none was driving me bonkers...

Avatar

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?