Metaprogramming, Sinatra, Rails, and More

Glenn Goodrich
Ruby Editor
Tweet

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.

Free book: Jump Start HTML5 Basics

Grab a free copy of one our latest ebooks! Packed with hints and tips on HTML5's most powerful new features.

No Reader comments