-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error messages (call stack) do not render correctly. #423
Comments
You have a fix for this? I encounter also this problem. |
Hmm will look into this soon, thanks for bringing it to my attention. Odd |
+1. I do not see the stack trace showing the line numbers in the rabl file. |
+1 Seeing the Rabl line numbers could be really helpful. App log:
When I render it manually from the console, I see the error.
|
Anyone interested in helping come up with a pull request for this? |
This error happens for all my controllers and views that use rabl (only when there is some sort of error in the file...not during normal use when everything works). The errors in my files can be anything from typos to nil errors, but the same error that is returned to the front end is as follows:
NoMethodError at /api/v1/search_terms/new.json
(gem) rack-1.4.5/lib/rack/etag.rb, line 58
App backtrace
Full backtrace
This error is pretty useless since it doesn't even show a backtrace in the application stack. I'm using:
ruby "1.9.3"
gem 'asset_sync', '0.5.4'
gem 'aws-sdk', '1.3.9'
gem 'jquery-rails', '2.2.0'
gem 'geocoder', '1.1.6'
gem 'haml-rails', "
> 0.4"> 2.0.0"gem 'newrelic_rpm', '3.5.0.1'
gem 'pg', '0.14.1'
gem 'pg_search', '0.5.7'
gem 'possessive', '1.0.1'
gem 'spree_social', :git => "git://github.com/spree/spree_social.git", :branch => "1-3-stable"
gem 'rails', '3.2.11'
gem 'spree', '1.3.2'
gem 'spree_auth_devise', :github => "spree/spree_auth_devise", :branch => "1-3-stable"
gem 'spree_gateway', :git => 'git://github.com/spree/spree_gateway.git', :branch => "1-3-stable"
gem 'spree_print_invoice' , :git => 'git://github.com/Walk-By/spree_print_invoice.git'
gem "sunspot_autocomplete", ">= 0.0.3", :git => "git://github.com/xponrails/sunspot_autocomplete.git"
gem "sunspot_rails", "
gem 'tax_cloud', '0.2.0'
gem 'thin', '1.5.0'
gem 'urbanairship', '2.2.0'
gem 'haml', '3.1.7'
Any intuition on this?
Thanks,
Jon
The text was updated successfully, but these errors were encountered: