Skip to content

Instantly share code, notes, and snippets.

@errordeveloper
Created October 16, 2010 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save errordeveloper/630031 to your computer and use it in GitHub Desktop.
Save errordeveloper/630031 to your computer and use it in GitHub Desktop.
heroku redmine googledocs
ActionView::TemplateError (undefined method `get_values' for #<Class:0x2b1171d0be68>) on line #5 of vendor/plugins/redmine_googledocs/app/views/googledocs/_form.rhtml:
2: <div class="box">
3: <!--[form:document]-->
4: <p><label for="document_category_id"><%=l(:field_category)%></label>
5: <%= select('document', 'category_id', Enumeration.get_values('DCAT').collect {|c| [c.name, c.id]}) %></p>
6: <p>
7: <label for="document_type_id">Type</label>
8: <select id="document_type_id" name="document[type_id]"><option value="1">Document</option>
vendor/plugins/redmine_googledocs/app/views/googledocs/_form.rhtml:5:in `_run_rhtml_vendor47plugins47redmine_googledocs47app47views47googledocs47_form46rhtml_locals_form_object'
vendor/plugins/redmine_googledocs/app/views/googledocs/list.html.erb:16
vendor/plugins/redmine_googledocs/app/views/googledocs/list.html.erb:15
/home/heroku_rack/lib/static_assets.rb:9:in `call'
/home/heroku_rack/lib/last_access.rb:15:in `call'
/home/heroku_rack/lib/date_header.rb:14:in `call'
thin (1.2.6) lib/thin/connection.rb:76:in `pre_process'
thin (1.2.6) lib/thin/connection.rb:74:in `catch'
thin (1.2.6) lib/thin/connection.rb:74:in `pre_process'
thin (1.2.6) lib/thin/connection.rb:57:in `process'
thin (1.2.6) lib/thin/connection.rb:42:in `receive_data'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
thin (1.2.6) lib/thin/backends/base.rb:57:in `start'
thin (1.2.6) lib/thin/server.rb:156:in `start'
thin (1.2.6) lib/thin/controllers/controller.rb:80:in `start'
thin (1.2.6) lib/thin/runner.rb:177:in `send'
thin (1.2.6) lib/thin/runner.rb:177:in `run_command'
thin (1.2.6) lib/thin/runner.rb:143:in `run!'
thin (1.2.6) bin/thin:6
/usr/ruby1.8.7/bin/thin:19:in `load'
/usr/ruby1.8.7/bin/thin:19
Rendering /disk1/home/slugs/319994_8085f33_a335-b59b09d6-223e-4730-ad83-5ff7c8925652/mnt/public/500.html (500 Internal Server Error)
Processing ProjectsController#show (for 86.135.70.156 at 2010-10-16 10:02:44) [GET]
Parameters: {"action"=>"show", "id"=>"wmi", "controller"=>"projects"}
Rendering template within layouts/base
Rendering projects/show
Completed in 97ms (View: 26, DB: 56) | 200 OK [http://wmi.new-synth.info/projects/wmi]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment