# Confusion related when deploy to heroku

**URL:** <https://www.ruby-forum.com/t/confusion-related-when-deploy-to-heroku/241280>\
**Category:** Deployment\
**Created:** [May 21, 2014, 2:43pm UTC](https://www.ruby-forum.com/t/confusion-related-when-deploy-to-heroku/241280 "2014-05-21T14:43:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [May 21, 2014, 2:43pm UTC](https://www.ruby-forum.com/t/confusion-related-when-deploy-to-heroku/241280/1 "2014-05-21T14:43:40Z")

</div>

I am using Ruby1.9.3 and Rails3.2 version. I am developing sample\_app by  
using Michael hartl’s book.

I get message for Javascript and CSS after using “rails s” like  
following:

When I use code “rails s”, and then I got error like:

Served asset /sessions.js - 304 Not Modified (1ms)

[2014-05-21 17:58:58] WARN Could not determine content-length of  
response body. Set content-length of the response or set  
Response#chunked = true

After this error, I changed code in development.rb file from  
config.assets.debug = true

to

config.assets.debug = false.

Now my question is, Will anything go wrong when I deploy to heroku as i  
changed code in development.rb file. My application will work correctly?

---

<div class="post-metadata">

**Author:** ![jaimin26783](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d78d45/32.png) [@jaimin26783](https://www.ruby-forum.com/u/jaimin26783)\
**Post date:** [July 18, 2014, 2:17pm UTC](https://www.ruby-forum.com/t/confusion-related-when-deploy-to-heroku/241280/2 "2014-07-18T14:17:38Z")

</div>

Yes, It should work correctly as this change will not effect your heroku  
deployment.
