RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: andredublin
It really depends on what your placing in the cookie before you decide to secure it. The simple solution would be to encrypt the cookie via bcryt. But its never a good idea to place sensitive data on the client side. Your cookie should really track the user session to query your database securely.
So I followed the episode exactly and I'm getting 404 errors for anything in my public folder? Any ideas why...
I know about the rails config option to serve_static_assets, but wouldn't I want nginx to do that?
Holy crap, why have I not been using this!
This has been exploding all over the interweb lately. Thanks for the vid!