Rails assets pipeline returns 13-lines empty javascript with &body=1 #5972

Closed
xlash opened this Issue Apr 25, 2012 · 2 comments

Projects

None yet

2 participants

@xlash
xlash commented Apr 25, 2012

Reference : http://stackoverflow.com/questions/10301129/rails-3-2-asset-pipeline-adds-body-1-but-serve-empty-resource

I'm no Rails Assets expert, but in the last few days, I've been getting this strange behavior, where
127.0.0.1:3000/assets/twitter/bootstrap.js?body=1
==> returns an empty file (13 lines)

Without the query string, it works.

Using Rails 3.2.1. Same behavior with Rails 3.2.2

Thanks

@tehcurtis

This looks like it's a non-issue. The file is empty because it is just filled with sprocket comments (//=).

@xlash
xlash commented Apr 26, 2012

I agree. It was pointed out to me on stackoverflow. Thanks

@xlash xlash closed this Apr 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment