Skip to content

Instantly share code, notes, and snippets.

@akiellor
Created March 12, 2011 03:16
Show Gist options
  • Save akiellor/867002 to your computer and use it in GitHub Desktop.
Save akiellor/867002 to your computer and use it in GitHub Desktop.
ActionView::Template::Error (Missing partial receipts/receipt_table with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml, :slim, :rep, :csvt], :formats=>[:js, :html], :locale=>[:en, :en]} in view paths "/Users/akiellor/Development/expenselynx/app/views", "/Users/akiellor/.rvm/gems/ruby-1.9.2-p0@expenselynx/gems/devise-1.1.7/app/views"):
7: $("#expensed_total").html("<%= number_to_currency current_user.receipts.where(:expensed => true).sum(:total) %>");
8: $("#expensed_total").effect('highlight', {}, 'slow');
9:
10: $("#recent_receipts").html("<h3 class=\"center\">Recent Receipts</h3><br /><%= escape_javascript(render :partial => 'receipts/receipt_table', :locals => {:receipts => @receipt.user.receipts.recent, :expensable => true, :expensed => true}) %>").effect('highlight', {}, 'slow');
11:
12: $("#new_receipt")[0].reset();
app/views/receipts/create.js.erb:10:in `_app_views_receipts_create_js_erb__211119640030275519_2159261260__1916319490942236634'
app/controllers/receipts_controller.rb:30:in `create'
Rendered /Users/akiellor/.rvm/gems/ruby-1.9.2-p0@expenselynx/gems/actionpack-3.0.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
Rendered /Users/akiellor/.rvm/gems/ruby-1.9.2-p0@expenselynx/gems/actionpack-3.0.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (223.4ms)
Rendered /Users/akiellor/.rvm/gems/ruby-1.9.2-p0@expenselynx/gems/actionpack-3.0.5/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (231.0ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment