May I ask how would you implement a simple authentication form (simple password field) to filter private pages, for private photo album/info/etc per say ?
Click the link -> form -> load password protected page if password is true.
You could basically store a hashed password on the album and then prompt for the password. When they type in the password, run it through the same hashing algorithm (check out bcrypt) and if the hashes match, you can set a cookie letting the user view the page. This is basically how email/password logins work.
Where is it reading the episode data from?
@episodes is the instance variable you'd set in the controller just like you normally would when printing out the index.
Yes but where, physically are you storing the episodes? Do you keep them on your server, through a hosted service?
Oh yeah :) I use Wistia to host them all. They upload them to S3 (or wherever they use) and probably serve the files up through a CDN. I let them handle it but if I were to do it myself I would use S3 and CloudFront probably.
Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.