News for hackers. Stuff that matters.
Re:Facelette: On TechCrunch in Three Hours and $0 by kenjackson on Thursday October 21, 2010 @04:01PM (#1817198)
So where's the code? I don't see it on GitHub?
Re:Facelette: On TechCrunch in Three Hours and $0 by holman on Thursday October 21, 2010 @04:29PM (#1817312)
Re:Facelette: On TechCrunch in Three Hours and $0 by adammichaelc on Thursday October 21, 2010 @07:20PM (#1817864)
What does this controller do? Did you delete the code that used to be there?

http://github.com/holman/facelette/blob/master/app/controlle...

Re:Facelette: On TechCrunch in Three Hours and $0 by holman on Thursday October 21, 2010 @07:23PM (#1817872)
ApplicationController is sort of the general controller Rails generates that all your other controllers inherit from. Facelette is so simplistic I didn't need to dig into it at all.
Re:Facelette: On TechCrunch in Three Hours and $0 by adammichaelc on Thursday October 21, 2010 @07:35PM (#1817909)
So what does the protect_from_forgery statement do? I've never seen that before.
Re:Facelette: On TechCrunch in Three Hours and $0 by holman on Thursday October 21, 2010 @07:37PM (#1817917)
I believe it was added in 2.3. It protects against CSRF attacks: http://api.rubyonrails.org/classes/ActionController/RequestF...
Re:Facelette: On TechCrunch in Three Hours and $0 by kenjackson on Thursday October 21, 2010 @04:40PM (#1817353)
Thanks... although I'm not really sure how this code does facelette :-)

I really should do a more non-trivial RoR project, so I can more easily read other peoples RoR code.

Re:Facelette: On TechCrunch in Three Hours and $0 by stevenbedrick on Thursday October 21, 2010 @05:10PM (#1817456)
The real meat of it appears to be based around the new (to me, anyway) facetime:// protocol, which I'm assuming FaceTime.app handles. Take a look at the sessions/queue view for more.
Re:Facelette: On TechCrunch in Three Hours and $0 by holman on Thursday October 21, 2010 @05:48PM (#1817588)
Yup. That's basically the whole reason behind why I made it, once I saw facetime://. Otherwise everything else would be unbearably cumbersome. With that snippet of knowledge, anyone could make a clone (and I encourage it!)
Re:Facelette: On TechCrunch in Three Hours and $0 by adammichaelc on Thursday October 21, 2010 @07:50PM (#1817963)