From Ruby on Rails Guides on ruby.railstutorial.org