Colin Law wrote in post #1181474:
> On 18 February 2016 at 11:16, Kranthi Kumar <lists@ruby-forum.com>
> wrote:
>> Tried many combinations with video_tag. Still it shows the same error.
>
> Please quote the previous message when replying, otherwise it is
> difficult to follow the thread, this is a mailing list not a forum
> (though you may be using it via a forum like interface). Thanks.
>
> Does the error disappear if you remove that line entirely? What if
> you move it to a completely different part of the view? What happens
> if you call video_tag with no parameters at all? What if you put a
> different helper such as field_tag in that line instead.
>
> Does the error only appear if you include the gem
> sprockets_better_errors?
>
> Which versions of ruby and rails are you using?
>
> Colin
Sorry Colin. I did not know I have to use previous message when
replying. I was using it as a forum. Will do it from now.
Coming to my version I'm Ruby 2.2.2p95 and Rails 4.2.0.
That error is behaving very different. It showed the same error when I
replaced it with image_tag. When I removed it completely it moved to my
next image_tag. When I removed all my image_tags from my landing page it
showed the same error at
"<%= stylesheet_link_tag "application", media: "all",
"data-turbolinks-track" => true %>"
It is showing the error only when I include the sprockets_better_errors
gem. Now I've removed it and everything works fine.
But my my initial problem still exists. Video not loading on heroku. its
working only if I change "config.assets.compile" value to true in my
production.rb file.
So now I'm unsure if it will have any other affect on my application
like slowing it down...etc.
Thanks.
--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/861efe9274fac3973790321566278059%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment