top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Rails: Issue with javascripts loading in production env

+2 votes
111 views

I have added few libraries in my application and I have tested it in my local machine and they are working. But when I host it on my server and set the env to productions those libraries are not loading or the effects are appearing on my page.

posted Jan 13, 2015 by Abhay Kulkarni

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

I am building a multi-page rails web app and am struggling with finding a good JavaScript framework to use. I could use jQuery for all the low-level DOM manipulations but would like to benefit from the structure of a good framework.

0 votes

I have a variable created by some rails in my controller that looks like this:

@myvar= row["myvar"]

and I want to pass it into some javascript that is referenced from within my view:

view:

js (play_time):

I am trying to pass " into the js [obviously that is not the right syntax]. Can anyone help?

+2 votes

Right now i am working on rails 3 . Is there any possible way to increase the css and js file loading speed (with out asset). please help me

+2 votes

I am using contact and gdata gem to import contact from gmail in my rails app and it is working great on local system.

When I deploy it to heroku and try to import my contacts app just give an error and also send a suspicious message to my email that account access from some unexpected place.

Do I need to register my app on google or some configuration is to be done

...