While trying out some examples in the Agile book I cam across an error (the traceback is copied to the end of this message). Here is what I did: 1. I downloaded the source files ( rails-code.tgz) from the website 2. Ungzipped and cd''d to the directory ''view'' 3. Fired up WEBrick 4. Pointed Firefox at http://0.0.0.0:3000/test/select 5. It explodes with the error at the end of this message. Being a Ruby newbie I''m having trouble working out why this happens. Does it fail for anyone else? Please be gentle if it''s an obvious error :) Many thanks, Sion Showing /test/select.rhtml where line #107 raised: uninitialized constant SHIPPING_OPTIONS Extracted source (around line #107): 104: <label for="order_shipping_option">Shipping: </label> 105: <select name="order[shipping_option]" id="order_shipping_option"> 106: <%= 107: option_groups_from_collection_for_select(SHIPPING_OPTIONS, 108: :options, :type_name, # <- groups 109: :id,:name, # <- items 110: @order.shipping_option) Show template trace /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dep endencies.rb:186:in `const_missing'' (erb):107:in `evaluate_locals'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:2 72:in `evaluate_locals'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:2 83:in `rhtml_render'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:2 08:in `send'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:2 08:in `render_template'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view/base.rb:1 73:in `render_file'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/bas e.rb:588:in `render_with_no_layout'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/lay out.rb:216:in `render_without_benchmark'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/ben chmarking.rb:25:in `render'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/ben chmarking.rb:25:in `measure'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/ben chmarking.rb:25:in `render'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/bas e.rb:591:in `render_with_no_layout'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/lay out.rb:216:in `render_without_benchmark'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/ben chmarking.rb:25:in `render'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/ben chmarking.rb:25:in `measure'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/ben chmarking.rb:25:in `render'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/bas e.rb:604:in `render_with_no_layout'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/lay out.rb:216:in `render_without_benchmark'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/ben chmarking.rb:25:in `render'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/ben chmarking.rb:25:in `measure'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/ben chmarking.rb:25:in `render'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/bas e.rb:627:in `render_with_no_layout'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/lay out.rb:216:in `render_without_benchmark'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/ben chmarking.rb:25:in `render'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/ben chmarking.rb:25:in `measure'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/ben chmarking.rb:25:in `render'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/bas e.rb:759:in `perform_action_without_filters'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/fil ters.rb:295:in `perform_action_without_benchmark'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/ben chmarking.rb:41:in `perform_action_without_rescue'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/ben chmarking.rb:41:in `measure'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/ben chmarking.rb:41:in `perform_action_without_rescue'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/res cue.rb:80:in `perform_action'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/bas e.rb:356:in `send'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller/bas e.rb:356:in `process'' /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/dispatcher.rb:32:in `dispatch'' /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:105:in `handle_dispatch'' /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:71:in `service'' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' /usr/local/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'' /usr/local/lib/ruby/1.8/webrick/server.rb:144:in `start'' /usr/local/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'' /usr/local/lib/ruby/1.8/webrick/server.rb:94:in `start'' /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `each'' /usr/local/lib/ruby/1.8/webrick/server.rb:89:in `start'' /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'' /usr/local/lib/ruby/1.8/webrick/server.rb:79:in `start'' /usr/local/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:57:in `dispatch'' script/server:48