diff --git a/cookbook/015/hodgepodge/app/controllers/list_controller.rb b/cookbook/015/hodgepodge/app/controllers/list_controller.rb
new file mode 100644
index 0000000..37710f9
--- /dev/null
+++ b/cookbook/015/hodgepodge/app/controllers/list_controller.rb
@@ -0,0 +1,8 @@
+require 'sha1'
+
+class ListController < ApplicationController
+ def index
+ @list = [1, "string", :symbol, ['list']]
+ end
+
+end
diff --git a/cookbook/015/hodgepodge/app/helpers/list_helper.rb b/cookbook/015/hodgepodge/app/helpers/list_helper.rb
new file mode 100644
index 0000000..eaa1d0e
--- /dev/null
+++ b/cookbook/015/hodgepodge/app/helpers/list_helper.rb
@@ -0,0 +1,2 @@
+module ListHelper
+end
diff --git a/cookbook/015/hodgepodge/app/views/list/index.html.erb b/cookbook/015/hodgepodge/app/views/list/index.html.erb
new file mode 100644
index 0000000..ff97809
--- /dev/null
+++ b/cookbook/015/hodgepodge/app/views/list/index.html.erb
@@ -0,0 +1,6 @@
+
+ <% @list.each_with_index do |item, i| %>
+ - <%= i %>:
+ <%= SHA1.new(item.id.to_s) %>
+ <% end %>
+
diff --git a/cookbook/015/hodgepodge/config/routes.rb b/cookbook/015/hodgepodge/config/routes.rb
index d6bb8ae..42b661c 100644
--- a/cookbook/015/hodgepodge/config/routes.rb
+++ b/cookbook/015/hodgepodge/config/routes.rb
@@ -1,4 +1,6 @@
Hodgepodge::Application.routes.draw do
+ get "list/index"
+
get "foo/count"
get "foo/index"
get "foo/pretty"
diff --git a/cookbook/015/hodgepodge/test/functional/list_controller_test.rb b/cookbook/015/hodgepodge/test/functional/list_controller_test.rb
new file mode 100644
index 0000000..3c547f7
--- /dev/null
+++ b/cookbook/015/hodgepodge/test/functional/list_controller_test.rb
@@ -0,0 +1,9 @@
+require 'test_helper'
+
+class ListControllerTest < ActionController::TestCase
+ test "should get index" do
+ get :index
+ assert_response :success
+ end
+
+end
diff --git a/cookbook/015/hodgepodge/test/unit/helpers/list_helper_test.rb b/cookbook/015/hodgepodge/test/unit/helpers/list_helper_test.rb
new file mode 100644
index 0000000..09cd2a5
--- /dev/null
+++ b/cookbook/015/hodgepodge/test/unit/helpers/list_helper_test.rb
@@ -0,0 +1,4 @@
+require 'test_helper'
+
+class ListHelperTest < ActionView::TestCase
+end