This is a sample depot application explained in Agile Web Development with Rails 4