Ruby on Rails Thursday, October 2, 2014

Hi Hans,

It sounds like the asset pipeline might not be loading jQuery correctly. Have you checked out this gem? https://github.com/joliss/jquery-ui-rails

I've found it useful in the past to use jquery-rails and it's friends to load this stuff.

Hopefully this resolves your issue.
Thanks,
Timothy.

On 2 October 2014 20:07, Hans <Hans.Marmolin@klockholm.se> wrote:
I am developing an application in rails 3.2 with gem jquery-rails. I am using development mode, but will change to production soon. Then this error which I get in development mode -- No route matches [GET] "/jquery/ui-bg_flat_75_ffffff_40x100.png") -- had to be fixed. Jqueru-ui has a rule with url(../jquery/ui-bg_flat_75_ffffff_40x100.png) that does not work in my environment. I have tried to correct it in my own jquery file but it is still there, I have disabled my own jquery-ui files but I still get the error and jquery-ui works in the application. My conclusion is that jquery-ui is loaded outside my application or it is a caching problem. How can I change the url in this jquery-ui that I cannot control? How can I empty the cash ( I am using appach)? How is jquery-ui loaded when only gem jquery-rails is used?  I have also tried to use the other different gems that should take care of jquery-ui but I still get the same error.
Any Help would be very appreciated !!

--
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/6654c1e1-a778-443e-b2c1-6a38eb214138%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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/CABLJ1DLAWJQi_EjbSh5XF1_vDNdnZxJo9RBjqox7%3Dd8Urbzrcg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment