Even I'm not sure why its working on my local machine and not on heroku.
But I don't think it has something to do with my routes.rb file because
it is not able to find an asset which was placed in my assets/videos
folder and then precompiled.

After trying so many things I did the following

In my production.rb file I had config.assets.compile = false, and I
changed its value to true. Now video is loading.

I don't know what will be the implications of changing its value from
false to true, but it seems to work. Not only video the whole
application.

I want to know if there will be any consequences for changing its value
from false to true like load time or any other.

Thank You.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/f5e64e4186d289806cc5f5b600c9f96d%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to