Rails: User/Password Authentication from Scratch, Part I
Today, we’re going to learn how to implement simple user authentication in a Rails application from scratch. We’ll examine best practices to help avoid common and often costly mistakes.
Authorizing your Rails App with Authority
Imagine you’re writing a Rails app to organize conferences. As soon as you know what the app can do, you have to start deciding who is authorized to do what. But how do you implement that?
Hitchhiker’s Guide to Metaprogramming
Rule 1 to metaprogramming: don’t panic! Like many others, I have struggled with the term metaprogramming. For the purposes of this article, I’ll be broad with my working definition of metaprogramming.
“Sinatra: Up and Running” – Book Review
Sinatra: Up and Running was published at the end of last year by O’Reilly Press, and is the first book to be written exclusively about Sinatra. I have been waiting for a book to be written about Sinatra for a long time, and was really looking forward to this … and it didn’t disappoint.