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.
[ Parent
| on HN ]
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...